How can i fix this cmd?
#3

Quote:
Originally Posted by <__Ǝthan__>
Flip:
Код:
giveplayerid = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
So:

Код:
tmp = strtok(cmdtext, idx);
giveplayerid = ReturnUser(tmp);
you used ReturnUser before you assigned the variable, thus error-ing.
The problem is not there. The 2nd tmp = strtok is for what level he want to set the player. And the first one for playerid/name. But code seems to be ok... Try to put your name and not ID.
Reply


Messages In This Thread
How can i fix this cmd? - by Battlaman - 28.08.2009, 18:22
Re: How can i fix this cmd? - by StrickenKid - 28.08.2009, 19:52
Re: How can i fix this cmd? - by Dark_Kostas - 28.08.2009, 19:54
Re: How can i fix this cmd? - by StrickenKid - 28.08.2009, 20:02
Re: How can i fix this cmd? - by Battlaman - 28.08.2009, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)