16.09.2012, 00:41
STRCMP
ZCMD
Read this for more information: https://sampwiki.blast.hk/wiki/SetPlayerPos
pawn Код:
if(strcmp(cmdtext, "/teleport", true) == 0)
{
SetPlayerPos(playerid, X, Y, Z); //Replace X, Y and Z with your coords.
return 1;
}
pawn Код:
CMD:teleport(playerid,params[])
{
SetPlayerPos(playerid, X, Y, Z); //Replace X, Y and Z with your coords.
return 1;
}