12.07.2013, 22:05
Hello,
I have a problem with this command does not work IG: Invalid command. (Other cmd walk). I have added the command in OnPlayerCommandText
Original: ( pawn compiler has stopped working )
I have a problem with this command does not work IG: Invalid command. (Other cmd walk). I have added the command in OnPlayerCommandText
pawn Код:
if(strcmp(cmdtext, "/avvvplane", true) == 0)
{
ShowModelSelectionMenu(playerid, planelist, "->Planes<-");
return 1;
}
if(strcmp(cmdtext, "/vetement", true) == 0)
{
if(PlayerToPoint(5.0,playerid, 222.3895,-7.9124,1002.2109))
ShowModelSelectionMenu(playerid, skinlist, "Selectionne un Skin");
return 1;
}
pawn Код:
if(strcmp(cmdtext, "/avvvplane", true) == 0)
{
ShowModelSelectionMenu(playerid, planelist, "->Planes<-");
return 1;
}
if(strcmp(cmdtext, "/vetement", true) == 0)
{
if(PlayerToPoint(5.0,playerid, 222.3895,-7.9124,1002.2109))
ShowModelSelectionMenu(playerid, skinlist, "Selectionne un Skin");
return 1;
}
return 0;
}