Help Command Error
#1

Hello,
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;
    }
Original: ( pawn compiler has stopped working )

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


Messages In This Thread
Help Command Error - by Franck - 12.07.2013, 22:05
Re: Help Command Error - by park4bmx - 12.07.2013, 22:16
Re : Help Command Error - by Franck - 12.07.2013, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)