Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 5: {
- if(PlayerInfo[playerid][pClanRank] < 6) return 1;
- new szDialog[512];
- strcat(szDialog, "Model\tRank\n");
- strcat(szDialog, "Buy a vehicle\n");
- new x;
- for(new v = 0; v < MAX_SVEHICLES; v++) {
- if(ServerVehicles[v][vClan] == PlayerInfo[playerid][pClan]) {
- format(string, sizeof(string), "%s\t%d\n", aVehicleNames[ServerVehicles[v][vModel]-400], ServerVehicles[v][vRank]);
- strcat(szDialog, string);
- SelectedFaction2[playerid][x] = v;
- x++;
- }
- }
- ShowPlayerDialog(playerid, DIALOG_CLAN_VEHICLE, DIALOG_STYLE_TABLIST_HEADERS, "Clan Vehicles:", szDialog, "Select", "Cancel");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement