30.12.2012, 23:30
you wrote GetPlayerPos instead of SetPlayerPos
Change it
Wrong
Correct
Change it
Wrong
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mytp", cmdtext, true, 10) == 10)
{
GetPlayerPos(playerid,2372.0339,1402.0870,10.6719) ;
SendClientMessage(playerid, COLOR_YELLOW , "You have Teleported");
}
return 0;
Correct
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;

