What does this command not work
#3

Quote:
Originally Posted by Macluawn
Посмотреть сообщение
VehicleNames[Player[playerid][PlayerCarModel]-400]
Thank you it works but i just found out one more problem if i dont have all 4 car slots filled up the command wont work either here sit he command

pawn Код:
command(callcar, playerid, params[])
{
    new string[128];
    for(new i; i < sizeof(VehicleNames); i++)
    {
        format(string, sizeof(string), "%s\n%s\n%s\n%s", VehicleNames[Player[playerid][PlayerCarModel]-400], VehicleNames[Player[playerid][PlayerCarModel2]-400], VehicleNames[Player[playerid][PlayerCarModel3]-400], VehicleNames[Player[playerid][PlayerCarModel4]-400]);
    }
    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)