Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. CMD:v(playerid, params [])
  2. {
  3. format(pInfo[playerid][pT], 45, "%s's Vehicles (%d slots)", GetName(playerid), pInfo[playerid][pSlotVeh]), stdlg[playerid] = "Name\tStatus\tSpawn\tClass";
  4. for(new i = 0; i < 15; ++i) if(Veh[playerid][i][Owner] == pInfo[playerid][pID])
  5. 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])
  6. ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_TABLIST_HEADERS, pInfo[playerid][pT], stdlg[playerid], "Select", "Cancel");
  7. return 1;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement