11.08.2011, 15:31
pawn Код:
YCMD:stunt(playerid, params[], help)
{
if(help)
{
SendClientMessage(playerid, -1, "Help text goes here for /help stunt 1");
return 1;
}
if(strcmp(params, "1", true) == 0)
{
SetPlayerPos(playerid,X,Y,Z);
}
else if(strcmp(params, "2", true) == 0)
{
SetPlayerPos(playerid,X,Y,Z);
}
else
{
SendClientMessage(playerid, -1, "Unknown parameter");
}
return 1;
}