09.12.2009, 19:05
how can i make that if i type /race or /drag i will teleport to the same place?
(like having multiple commands for the same thing) how can i make multiple commands have the same function/results?
plz help
![afro](images/smilies/mrgreen.gif)
![smiley](images/smilies/question.gif)
![rolleyes](images/smilies/rolleyes.gif)
if(strcmp(cmd, "/example1", true) == 0)
{
SendClientMessage(playerid, GREEN, "Example command one!");
return 1;
}
if(strcmp(cmd, "/example2", true) == 0)
{
SendClientMessage(playerid, GREEN, "Example command two!");
return 1;
}
if(!strcmp(cmdtext[1],"example1",true) || !strcmp(cmdtext[1],"example1",true))
{
return 1;
}
Originally Posted by Chris - X-Host
Lol at the " // Blocks PMs", That could be confusing to a new scripter.
|
Originally Posted by Joe Staff
or
pawn Код:
|