Command issue [zcmd]
#2

Show us a command which is not working correctly.

If you do something like:
pawn Код:
new target, sendername[MAX_PLAYER_NAME];
GetPlayerName(target, sendername, sizeof(sendername));
That's will get the name of player with the ID 0 because you never assign the ID of the player you want into target.
Reply


Messages In This Thread
Command issue [zcmd] - by Gecko75 - 12.10.2013, 13:42
Re: Command issue [zcmd] - by Konstantinos - 12.10.2013, 13:45
Re: Command issue [zcmd] - by Gecko75 - 12.10.2013, 13:49
Re: Command issue [zcmd] - by Konstantinos - 12.10.2013, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)