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
#2

is not from that
Reply
#3

How does it ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)