General > Developers Corner

no targets found

(1/3) > >>

bender180:
With my custom commands when i use them in single player through xgui i receive the error "argument #1: no targets found" however when i run the command through the console in single player it works perfectly. On multiplayer servers the commands work great from xgui or console, is this a bug in my code or is this an xgui bug?

MrPresident:
Sounds like something with xgui. Are you targeting yourself or a bot. before the error, what does xgui try to run?

bender180:
Happens when i target myself. I haven't tried on a bot because you cant spawn one in a single player game. The commands work fine from xgui when the min players is 2 or more.

bender180:
anyone have any idea how i can fix this?

nathan736:
could you post the code u used ?  :-\

Navigation

[0] Message Index

[#] Next page

Go to full version