Advertisement
vicesource

Car selling

Apr 30th, 2011
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.66 KB | None | 0 0
  1. public IsAnOwnableCar(vehicleid)
  2. {
  3.     if(vehicleid >= 81 && vehicleid <= 500) { return 1; }
  4.     return 0;
  5. }
  6.  
  7. public IsAtDealership(playerid)
  8. {
  9.     if(IsPlayerConnected(playerid))
  10.     {
  11.         if(PlayerToPoint(5,playerid,114.9868, 1063.8870, 18.8080))
  12.         {
  13.             return 1;
  14.         }
  15.     }
  16.     return 0;
  17. }
  18.  
  19.  
  20.     //------------------- Vehicles to sell --------------------
  21.     CreateVehicle(462, 114.1927, 1046.8478, 13.3000, 180.0000, 1, 1, 100);
  22.     CreateVehicle(471, 115.9465, 1047.1154, 13.3000, 180.0000, 1, 1, 100);
  23.     CreateVehicle(468, 117.8237, 1047.3627, 13.3000, 180.0000, 1, 1, 100);
  24.     CreateVehicle(463, 114.2658, 1041.6437, 13.3000, 0.0000, 1, 1, 100);
  25.     CreateVehicle(586, 116.0862, 1041.8440, 13.3000, 0.0000, 1, 1, 100);
  26.     CreateVehicle(541, 115.8388, 1065.2460, 13.3000, 90.0000, 1, 1, 100);
  27.     CreateVehicle(477, 115.5029, 1060.9395, 13.3000, 90.0000, 1, 1, 100);
  28.     CreateVehicle(461, 117.9148, 1041.9137, 13.3000, 0.0000, 1, 1, 100);
  29.     CreateVehicle(418, 136.3985, 1089.2894, 13.7500, 164.0000, 1, 1, 100);
  30.     CreateVehicle(482, 132.2074, 1089.3240, 13.7500, 164.0000, 1, 1, 100);
  31.     CreateVehicle(483, 128.8106, 1088.9198, 13.7500, 164.0000, 1, 1, 100);
  32.     CreateVehicle(589, 124.9924, 1074.8187, 13.3000, 255.0000, 1, 1, 100);
  33.     CreateVehicle(508, 124.6294, 1088.0159, 13.7500, 164.0000, 1, 1, 100);
  34.     CreateVehicle(419, 124.3567, 1070.1569, 13.3000, 255.0000, 1, 1, 100);
  35.     CreateVehicle(466, 123.4885, 1064.9503, 13.3000, 255.0000, 1, 1, 100);
  36.     CreateVehicle(467, 122.9051, 1060.3663, 13.3000, 255.0000, 1, 1, 100);
  37.     CreateVehicle(411, 117.2409, 1075.7573, 13.3000, 90.0000, 1, 1, 100);
  38.     CreateVehicle(451, 115.9041, 1071.0206, 13.3000, 90.0000, 1, 1, 100);
  39.     //-----------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement