[HELP] ID:0 problem...
#1

hi,

I have a command which used for getting a player's stats. But, i have two commands:

"/my stats" and "/getstats [ID]".

If ID:0 types "/getstats 0" it shows an error like "use /my stats to see your own stats", and, if ID:0 types "/getstats 1" (or 2,3,4...), it still shows that error. This command works for other players, but doesn't work for id 0.

Here is the error code:

pawn Код:
if(ReturnPlayer == playerid) return SendClientMessage(playerid, mbrightred, "Use /my stats to see your own stats.");
Can anyone help?
Reply


Messages In This Thread
[HELP] ID:0 problem... - by LasTRace - 03.08.2010, 13:35
Re: [HELP] ID:0 problem... - by Finn - 03.08.2010, 13:39
Re: [HELP] ID:0 problem... - by LasTRace - 03.08.2010, 13:44

Forum Jump:


Users browsing this thread: 1 Guest(s)