30.08.2009, 19:12
Correct:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/mytp", cmdtext, true, 5) == 0)
{
SetPlayerPos(playerid,1541.1716,-940.8367,41.8577);
SendClientMessage(playerid,0xFFFF00AA, "You have Teleported");
return 1;
}
return 0;
}