jlalt

Zweqeqqwqq hack pc dont click

May 24th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.78 KB | None | 0 0
  1. native IsValidVehicle(vehicleid);
  2. CMD:vinfo(playerid, params[]) {
  3.    if(isnull(params) || IsNumeric(params)) return SendClientMessage(playerid, -1,"Usage: /vinfo [vehicle name]");
  4.    new vehmodel = GetVehicleModelIDFromName(params);
  5.    new sold,forsale;
  6.    for(new vehicleid = 1; vehicleid <= MAX_VEHICLES; vehicleid++) {
  7.       if(IsValidVehicle(vehicleid) && onsys[vehicleid] == 1 && GetVehicleModel(vehicleid) == vehmodel) {
  8.         switch(VehicleInfo[vehicleid][bought]) {
  9.            case 0: forsale ++;
  10.            default: sold ++;
  11.         }
  12.       }
  13.    }
  14.    new string[256];
  15.    format(string,sizeof string,"%d %s's For Sale | %d %s's Sold!",forsale,VehicleName[vehmodel-400],sold,VehicleName[vehmodel-400]);
  16.    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX,"Vehicle", string, "Close", "");
  17.    return 1;
  18. }
Add Comment
Please, Sign In to add comment