/goto
#5

Quote:
Код:
...
if (IsPlayerConnected(plo) & plo != INVALID_PLAYER_ID)
...
this won't work as expected, you need && instead of single & (& is bitwise AND)
Quote:
Originally Posted by » ραωпsтαг «
You don't need to check if the player who is using the command is connected .. because if he is using the command, he's quite obviously connected lol
Checking if the player to be teleported to is connected is not a bad idea.
Reply


Messages In This Thread
/goto - by marine - 09.01.2010, 18:17
Re: /goto - by patchkinson - 09.01.2010, 18:37
Re: /goto - by marine - 09.01.2010, 18:53
Re: /goto - by whitedragon - 09.01.2010, 19:12
Re: /goto - by Streetplaya - 09.01.2010, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)