Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.42 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnFilterScriptInit()
  4. {
  5.     print("\n--------------------------------------");
  6.     print(" Blank Filterscript by your name here");
  7.     print("--------------------------------------\n");
  8.     return 1;
  9. }
  10.  
  11. public OnFilterScriptExit()
  12. {
  13.     return 1;
  14. }
  15.  
  16.  
  17. #define MAX_WEEKEND_CAR_NAME_LENGTH     25
  18.  
  19. enum weekendCars_Data
  20. {
  21.     wc_model,
  22.     wc_name[ MAX_WEEKEND_CAR_NAME_LENGTH ],
  23.     wc_color1,
  24.     wc_color2,
  25.     Float:wc_X,
  26.     Float:wc_Y,
  27.     Float:wc_Z,
  28.     Float:wc_RZ,
  29.     wc_vehid = -1, /// Just a default value. Don't change this.
  30.     bool:wc_locked = false, /// Whether the car is locked or no. It's unlocked in default, don't change this.
  31.     Text3D:wc_3dlabel = -1, /// This is for attaching the "locked car" label into the car. It's -1 by default, don't change this.
  32. };
  33.  
  34. //// Here the list of the weekend cars.
  35. new wcInfo[ 2 ][ weekendCars_Data ] = {
  36.  
  37. { 410, "The hero", -1, -1, 5.5, 5.5, 5.5, 5.5 } ,
  38. { 420, "My best car", -1, -1, 5.5, 12.5, 51.2, 2.5 }
  39.  
  40. };
  41.  
  42. main()
  43. {
  44.     print("\n----------------------------------");
  45.     print(" Blank Gamemode by your name here");
  46.     print("----------------------------------\n");
  47. }
  48.  
  49. public OnPlayerRequestClass(playerid, classid)
  50. {
  51.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  52.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  53.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  54.     wcInfo[ 0 ][ wc_vehid ] = 1; /// ERROR IS ON THIS LINE!!!!!
  55.     return 1;
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement