Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:v(playerid, params [])
- {
- format(pInfo[playerid][pT], 45, "%s's Vehicles (%d slots)", GetName(playerid), pInfo[playerid][pSlotVeh]), stdlg[playerid] = "Name\tStatus\tSpawn\tClass";
- for(new i = 0; i < 15; ++i) if(Veh[playerid][i][Owner] == pInfo[playerid][pID])
- format(stdlg[playerid], 800, "%s\n%s%s\t%s\t%s\t%s", stdlg[playerid], g_VehicleNames[Veh[playerid][i][Model]-400], Veh[playerid][i][vTax] == 0 ? ("") : (" ({BD0000}seized{FFFFFF})"), Veh[playerid][i][Lock] == 0 ? ("{00BA19}Unlocked") : ("{BD0000}Locked"), Veh[playerid][i][vSp] == 1 ? ("{BD0000}Despawned") : ("{00BA19}Spawned"), Veh[playerid][i][Class])
- ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_TABLIST_HEADERS, pInfo[playerid][pT], stdlg[playerid], "Select", "Cancel");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement