Small problem
#2

pawn Код:
CMD:vstorage(playerid, params[])
{
    new szCars[1024],Model;
    for(new v; v < MAX_PLAYER_VEHICLES; v++)
        if((Model = playerVehicles[playerid][v][cModelID]) > 399)
        {
            if(playerVehicles[playerid][v][cStored] == 0)
                format(szCars, sizeof(szCars), "%s[%d] | %s | Stored(click to spawn)\n",szCars, v, VehicleName[Model - 400]);
            else
                format(szCars, sizeof(szCars), "%s[%d] | %s | Spawned(click to store)\n",szCars, v, VehicleName[Model - 400]);
        }else strcat(szCars, "Empty(available slot)\n");
       
    szCars[strlen(szCars)-1] = 0;

    return ShowPlayerDialog(playerid, DIALOG_MYCARS, DIALOG_STYLE_LIST, "[ VEHICLES ]", szCars, "Select", "Cancel");
}
Reply


Messages In This Thread
Small problem - by MattSlater - 25.12.2012, 23:09
Re: Small problem - by Jefff - 25.12.2012, 23:47
Re: Small problem - by MattSlater - 25.12.2012, 23:51

Forum Jump:


Users browsing this thread: 2 Guest(s)