15.08.2011, 18:32
Copy and paste all this:
and paste it under OnPlayerCommandText.
pawn Код:
if(!strcmp(cmdtext, "/ls", true, 3)) // command name and length number
{
SetPlayerPos(playerid,1480.1586,-1656.4243,14.0469); // setting player to these coordinates
return 1;
}
if(!strcmp(cmdtext, "/sf", true, 3))
{
SetPlayerPos(playerid,-1989.9713,137.5744,27.5391);
return 1;
}
if(!strcmp(cmdtext, "/lv", true, 3))
{
SetPlayerPos(playerid,2049.3337,1332.8530,10.6719);
return 1;
}