What does this command not work
#1

So im trying to make it show the players car model ID in /callcar dialog and the car name but when ever i do /callcar nothing happens

pawn Код:
new VehicleNames[212][] =
{
        "559 - Jester"
};
The command

pawn Код:
command(callcar, playerid, params[])
{
    new string[128];
    for(new i; i < sizeof(VehicleNames); i++)
    {
        format(string, sizeof(string), "%s", VehicleNames[Player[playerid][PlayerCarModel]]);
    }
    ShowPlayerDialog(playerid, 4601, DIALOG_STYLE_LIST, "Call Car", string, "Ok", "Close");
}
If you need any more code just ask

Thanks
Reply


Messages In This Thread
What does this command not work - by Euan Hughes - 24.06.2012, 16:25
Re: What does this command not work - by Macluawn - 24.06.2012, 16:29
Re: What does this command not work - by Euan Hughes - 24.06.2012, 16:35
Re: What does this command not work - by rachit_rocks - 24.06.2012, 17:08
Re: What does this command not work - by Euan Hughes - 24.06.2012, 17:13
Re: What does this command not work - by Grand_Micha - 24.06.2012, 17:15
Re: What does this command not work - by Euan Hughes - 24.06.2012, 17:18
Re: What does this command not work - by Grand_Micha - 24.06.2012, 17:38
Re: What does this command not work - by Euan Hughes - 24.06.2012, 17:40
Re: What does this command not work - by Grand_Micha - 24.06.2012, 17:49

Forum Jump:


Users browsing this thread: 2 Guest(s)