Please help me with this error for scripting?
#3

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)