30.12.2012, 22:47
Problem is here. Change your OnPlayerCommandText:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mytp", cmdtext, true, 10) == 10)
{
SetPlayerPos(playerid,2372.0339,1402.0870,10.6719) ;
SendClientMessage(playerid, COLOR_YELLOW , "You have Teleported");
}
return 0;
}