20.11.2016, 16:14
Seria mais fбcil perguntar o que esta certo.
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/plane", true) == 0)
{
if(PlayerToPoint(5.0, playerid, 218.2851,-98.5317,1005.2578))
{
ShowModelSelectionMenu(playerid, planelist, "->Planes<-");
}
return 1;
}
if(strcmp(cmdtext, "/changeskin", true) == 0)
{
if(PlayerToPoint(5.0, playerid, 218.2851,-98.5317,1005.2578))
{
ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
}
return 1;
}
return 0;
}