[SOLVED]Help with the command
#3

Quote:
Originally Posted by E1edge
Hello! Please, help. How to make a command like
pawn Код:
if(strcmp(cmd,"/sw list",true) == 0)
?
When I write a that command, it returns me with a "Unknown command".
hmm
ex if u want to make a command like it so u have to do is

if(!strcmp(cmdtext, "/tpzone sw", true))
{
SetPlayerPos(playerid,2262.7290,2035.9547,10.8203) ; //
SendClientMessage(playerid, COLOR_RED, "You have teleported to Death_Itself's Mansion!");
return 1;
}


this example is for ur understanding and u can change the SetPlayerPos
Reply


Messages In This Thread
[SOLVED]Help with the command - by Butilka - 06.09.2009, 10:19
Re: Command - by RyDeR` - 06.09.2009, 10:52
Re: Command - by Deat_Itself - 06.09.2009, 11:02
Re: Command - by MenaceX^ - 06.09.2009, 11:10
Re: Command - by Deat_Itself - 06.09.2009, 11:24
Re: Command - by Butilka - 06.09.2009, 11:28

Forum Jump:


Users browsing this thread: 1 Guest(s)