help for /name command
#5

Quote:
Originally Posted by BLACK-RIDER-1692
Код:
if(strcmp(cmd, "/name", true)==0){
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))return SendClientMessage(playerid, COLOR, "Usage: /name (New Name)");
SetPlayerName(playerid, tmp);
return 1;
}
thnx, but what must i edit for it to work, i get errors that 'tmp' does not exsist

C:\SAMPSE~1\FILTER~1\server.pwn(119) : error 017: undefined symbol "tmp"
C:\SAMPSE~1\FILTER~1\server.pwn(120) : error 017: undefined symbol "tmp"
C:\SAMPSE~1\FILTER~1\server.pwn(121) : error 017: undefined symbol "tmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
help for /name command - by [GF]sIdEkIcK - 12.07.2009, 14:02
Re: help for /name command - by BLACK-RIDER-1692 - 12.07.2009, 14:04
Re: help for /name command - by [GF]sIdEkIcK - 12.07.2009, 14:13
Re: help for /name command - by BLACK-RIDER-1692 - 12.07.2009, 14:14
Re: help for /name command - by [GF]sIdEkIcK - 12.07.2009, 14:20
Re: help for /name command - by BLACK-RIDER-1692 - 12.07.2009, 14:23
Re: help for /name command - by [GF]sIdEkIcK - 12.07.2009, 14:24
Re: help for /name command - by Rks25 - 12.07.2009, 14:25
Re: help for /name command - by BLACK-RIDER-1692 - 12.07.2009, 14:29
Re: help for /name command - by Gergo1352 - 12.07.2009, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)