Don't like ads? PRO users don't see any ads ;-)
Guest

darryl br0wn

By: a guest on Jun 26th, 2012  |  syntax: C  |  size: 22.00 KB  |  hits: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <natives.h>
  2. #include <common.h>
  3. #include <strings.h>
  4. #include <types.h>
  5. #include <consts.h>
  6.  
  7. Ped gameped;
  8. float BGx,BGy,BGz;
  9.  
  10. void Print(char *string)
  11. {
  12.         PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", string, 5000, 1);
  13. }
  14.  
  15. bool DoesPlayerCharExist(void)
  16. {
  17.         return DOES_CHAR_EXIST(GetPlayerPed());
  18. }
  19.  
  20. void WaitUntilPlayerCharExists(void)
  21. {
  22.         while( !DoesPlayerCharExist() )
  23.                 WAIT(0);
  24. }
  25.  
  26. void LoadModel(uint iModel)
  27. {
  28.         REQUEST_MODEL(iModel);
  29.        
  30.         while(!HAS_MODEL_LOADED(iModel))
  31.                 WAIT(0);
  32. }
  33.  
  34. //Returns the current run speed multipler for the current Player
  35. bool IsCharInVehicle(Ped pPed)
  36. {
  37.         Vehicle pVehicle;
  38.         GET_CAR_CHAR_IS_USING(pPed, &pVehicle);
  39.         return DOES_VEHICLE_EXIST(pVehicle);
  40. }
  41.  
  42. //Returns the current run speed multipler for the current Player.
  43.  
  44. bool IsPlayerInVehicle(void)
  45. {
  46.         return IsCharInVehicle(GetPlayerPed());
  47. }
  48.  
  49. //Returns the current vehicle that the player is in.
  50.  
  51. Vehicle GetCurrentPlayerVehicle(void)
  52. {
  53.         Vehicle pVehicle;
  54.         GET_CAR_CHAR_IS_USING(GetPlayerPed(), &pVehicle);
  55.         return pVehicle;
  56. }
  57.  
  58. //Creates a given vehicle while returning the vehicle ID.
  59. //Note: This assumes that the given vehicle model has already
  60. //been loaded and will later be marked for deletion.
  61.  
  62. Vehicle CreateVehicle(uint iModel, float fX, float fY, float fZ)
  63. {
  64.         Vehicle pVehicle;
  65.         CREATE_CAR(iModel, fX, fY, fZ, &pVehicle, true);
  66.         return pVehicle;
  67. }
  68.  
  69. //Creates a given vehicle and warps the current player into
  70. //it while returning the vehicle ID.
  71. //Note: This assumes that the given vehicle model has already
  72. //been loaded and will later be marked for deletion.
  73.  
  74. Vehicle CreateVehicleAndWarpPlayerIntoIt(uint iModel, float fX, float fY, float fZ)
  75. {
  76.         Vehicle pVehicle = CreateVehicle(iModel, fX, fY, fZ);
  77.         WARP_CHAR_INTO_CAR(GetPlayerPed(), pVehicle);
  78.         return pVehicle;
  79. }
  80.  
  81. //Loads the model of the given hash and then spawns the
  82. //vehicle, later marking the model for deletion and then
  83. //finally returns the vehicle ID.
  84.  
  85. Vehicle LoadAndCreateVehicle(uint iModel, float fX, float fY, float fZ)
  86. {
  87.         LoadModel(iModel);
  88.         CreateVehicle(iModel, fX, fY, fZ);
  89.         MARK_MODEL_AS_NO_LONGER_NEEDED(iModel);
  90. }
  91.  
  92.  
  93. void spawncar(void)
  94. {
  95.         if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_S))
  96.         {      
  97.                 float x, y, z;         
  98.                 GET_CHAR_COORDINATES(GetPlayerPed(), &x, &y, &z);
  99.                 LoadModel(MODEL_BANSHEE);
  100.                 CreateVehicleAndWarpPlayerIntoIt(MODEL_BANSHEE, x, y, z);
  101.                 Print("Sultan RS");
  102.         }
  103. }
  104. void uranus(void)
  105. {
  106.         if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_SPACE))
  107.         {      
  108.                 float x, y, z;         
  109.                 GET_CHAR_COORDINATES(GetPlayerPed(), &x, &y, &z);
  110.                 LoadModel(MODEL_URANUS);
  111.                 CreateVehicleAndWarpPlayerIntoIt(MODEL_URANUS, x, y, z);
  112.                 Print("uranus");
  113.         }
  114. }
  115.  
  116.  bool GroupSet=0;
  117.     Group Bgroup;
  118.     int spawndude=0;
  119.    
  120.      
  121.     // Set this that the Gang will Follow you
  122.     void groupSet(void)
  123.     {
  124.             if(GroupSet==0)
  125.             {
  126.                     GET_PLAYER_GROUP(GetPlayerIndex(), &Bgroup);
  127.             if(!DOES_GROUP_EXIST(Bgroup))
  128.             {
  129.                     CREATE_GROUP(0, Bgroup, TRUE);
  130.                     SET_GROUP_LEADER(Bgroup, GetPlayerPed());
  131.                     SET_GROUP_SEPARATION_RANGE(Bgroup, 9999.9);
  132.                     SET_GROUP_FORMATION(Bgroup, 2);
  133.                                         GroupSet=1;
  134.             }
  135.             }
  136.     }
  137.      
  138.     // Alows you to choose options when spawning your ped
  139.     void SpawnPed(uint model, char *name, uint weapon ,float offset_y, uint Rcol, uint Gcol , uint Bcol)
  140.     {
  141.      
  142.             REQUEST_MODEL(model);
  143.             while (!HAS_MODEL_LOADED(model)) WAIT(0);
  144.            
  145.             Ped Pped = GetPlayerPed();
  146.        
  147.            
  148.             GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS(Pped, 0, offset_y , 0, &BGx, &BGy, &BGz);
  149.             CREATE_CHAR(26, model, BGx,BGy,BGz, &gameped, true);
  150.      
  151.            
  152.             SET_GROUP_MEMBER(Bgroup, gameped); // Ped as Bodyguard
  153.             SET_CHAR_NEVER_LEAVES_GROUP(gameped, TRUE); // Keeps the Group together
  154.             TASK_COMBAT_HATED_TARGETS_AROUND_CHAR(gameped, 9999);
  155.             SET_CHAR_ACCURACY(gameped, 100);   //
  156.             SET_CHAR_WILL_DO_DRIVEBYS(gameped, TRUE);
  157.             SET_CHAR_WILL_USE_COVER(gameped, TRUE);
  158.             SET_CHAR_WILL_FLY_THROUGH_WINDSCREEN(gameped, TRUE);
  159.             SET_CHAR_PROVIDE_COVERING_FIRE(gameped, TRUE);
  160.             SET_CHAR_WILL_USE_CARS_IN_COMBAT(gameped, TRUE);
  161.             SET_CHAR_INVINCIBLE(gameped, TRUE);
  162.             SET_CHAR_SIGNAL_AFTER_KILL(gameped, TRUE);
  163.             SET_CHAR_CANT_BE_DRAGGED_OUT(gameped, TRUE);
  164.             SET_PED_DONT_DO_EVASIVE_DIVES(gameped, FALSE);
  165.             SET_PED_PATH_MAY_DROP_FROM_HEIGHT(gameped, TRUE);
  166.             SET_PED_PATH_MAY_USE_CLIMBOVERS(gameped, TRUE);
  167.             SET_PED_PATH_MAY_USE_LADDERS(gameped, TRUE);
  168.      
  169.      
  170.             UpdateWeaponOfPed(gameped, weapon); //uint weapon for ped
  171.             SET_CURRENT_CHAR_WEAPON(gameped, weapon, TRUE); // uint weapon for ped
  172.      
  173.             GIVE_PED_FAKE_NETWORK_NAME(gameped, name, Rcol, Gcol, Bcol, 255); // 200 = Color of Peds Name
  174.            
  175.     }
  176.      
  177.     // Alows you to choose options when spawning your ped and will only spawn 5
  178.     void jamaican(void)
  179.     {
  180.         if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_TAB))
  181.         {
  182.             //GET_GROUP_SIZE(Group group, uint *pStartIndex, uint *pCount);
  183.             uint amount,pCount;
  184.             GET_GROUP_SIZE(Bgroup, &amount, &pCount);
  185.             if (pCount < 8)// Checks the size and if under 5 will spawn 1 dude
  186.             {
  187.                     if(spawndude==0)
  188.                     {
  189.                             SpawnPed(MODEL_M_M_GJAM_HI_03,"bob marley",WEAPON_MP5, 2, 211, 10, 70);
  190.                             spawndude=1;
  191.                     }
  192.                     else if(spawndude==1)
  193.                     {
  194.                             SpawnPed(MODEL_M_M_GJAM_HI_02,"rasta",WEAPON_AK47,4, 64, 242, 234);
  195.                             spawndude=2;
  196.                     }
  197.                     else if(spawndude==2)
  198.                     {
  199.                             SpawnPed(MODEL_M_M_GJAM_HI_01,"snoop dowg",WEAPON_M4, 5, 75, 239, 67);
  200.                             spawndude=3;
  201.                     }
  202.                     else if(spawndude==3)
  203.                     {
  204.                             SpawnPed(MODEL_M_Y_GJAM_LO_01,"jamal",WEAPON_AK47,6, 255, 128, 0);
  205.                             spawndude=4;
  206.                     }
  207.                     else if(spawndude==4)
  208.                     {
  209.                             SpawnPed(MODEL_M_Y_GJAM_LO_02,"dwayne",WEAPON_MP5, 8, 255, 255, 0);
  210.                             spawndude=5;
  211.                     }
  212.                     else if(spawndude==5)
  213.                     {
  214.                             SpawnPed(MODEL_M_M_GJAM_HI_02,"makaveli",WEAPON_RLAUNCHER, 14, 238, 238, 238);
  215.                             spawndude=6;
  216.                     }
  217.                     else if(spawndude==6)
  218.                     {
  219.                             SpawnPed(MODEL_M_M_GJAM_HI_01,"t pain",WEAPON_SHOTGUN, 15, 255, 36, 255);
  220.                             spawndude=7;
  221.                     }
  222.                     else if(spawndude==7)
  223.                     {
  224.                             SpawnPed(MODEL_M_Y_GJAM_LO_01,"will smith",WEAPON_RLAUNCHER,16, 86, 38, 213);
  225.                             spawndude=8;
  226.                     }
  227.                     else if(spawndude==8)
  228.                     {
  229.                             SpawnPed(MODEL_M_Y_GJAM_LO_02,"pimp",WEAPON_M4, 18, 0, 255, 64);
  230.                             spawndude=0;
  231.                     }
  232.                    Print("jamican's");
  233.             }
  234.     }
  235.      }
  236.          
  237.          bool daz=0;
  238.     int darryl=0;
  239.      
  240.     // Set this that the Gang will Follow you
  241.     void rev(void)
  242.     {
  243.             if(daz==0)
  244.             {
  245.                     GET_PLAYER_GROUP(GetPlayerIndex(), &Bgroup);
  246.             if(!DOES_GROUP_EXIST(Bgroup))
  247.             {
  248.                     CREATE_GROUP(0, Bgroup, TRUE);
  249.                     SET_GROUP_LEADER(Bgroup, GetPlayerPed());
  250.                     SET_GROUP_SEPARATION_RANGE(Bgroup, 9999.9);
  251.                     SET_GROUP_FORMATION(Bgroup, 2);
  252.                                         daz=1;
  253.             }
  254.             }
  255.     }
  256.      
  257.     // Alows you to choose options when spawning your ped
  258.     void homies(uint model, char *name, uint weapon ,float offset_y, uint Rcol, uint Gcol , uint Bcol)
  259.     {
  260.      
  261.             REQUEST_MODEL(model);
  262.             while (!HAS_MODEL_LOADED(model)) WAIT(0);
  263.            
  264.             Ped Pped = GetPlayerPed();
  265.        
  266.            
  267.             GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS(Pped, 0, offset_y , 0, &BGx, &BGy, &BGz);
  268.             CREATE_CHAR(26, model, BGx,BGy,BGz, &gameped, true);
  269.      
  270.            
  271.             SET_GROUP_MEMBER(Bgroup, gameped); // Ped as Bodyguard
  272.             SET_CHAR_NEVER_LEAVES_GROUP(gameped, TRUE); // Keeps the Group together
  273.            
  274.             SET_CHAR_ACCURACY(gameped, 100);   //
  275.             SET_CHAR_SHOOT_RATE(gameped, 100);
  276.                         SET_CHAR_WILL_DO_DRIVEBYS(gameped, TRUE);
  277.                         SET_CHAR_SIGNAL_AFTER_KILL(gameped, TRUE);
  278.                         SET_CHAR_WILL_USE_CARS_IN_COMBAT(gameped, TRUE);
  279.                         SET_CHAR_WILL_FLY_THROUGH_WINDSCREEN(gameped, TRUE);
  280.                         SET_CHAR_INVINCIBLE(gameped, TRUE);
  281.                         SET_CHAR_PROVIDE_COVERING_FIRE(gameped, TRUE);
  282.                         SET_CHAR_CANT_BE_DRAGGED_OUT(gameped, TRUE);
  283.                         SET_CHAR_STAY_IN_CAR_WHEN_JACKED(gameped, TRUE);
  284.                         SET_PED_DONT_DO_EVASIVE_DIVES(gameped, FALSE);
  285.             SET_PED_PATH_MAY_DROP_FROM_HEIGHT(gameped, TRUE);
  286.             SET_PED_PATH_MAY_USE_CLIMBOVERS(gameped, TRUE);
  287.             SET_PED_PATH_MAY_USE_LADDERS(gameped, TRUE);
  288.            
  289.      
  290.             UpdateWeaponOfPed(gameped, weapon); //uint weapon for ped
  291.             SET_CURRENT_CHAR_WEAPON(gameped, weapon, TRUE); // uint weapon for ped
  292.      
  293.             GIVE_PED_FAKE_NETWORK_NAME(gameped, name, Rcol, Gcol, Bcol, 255); //  255 = Color of Peds Name
  294.            
  295.     }
  296.      
  297.     // Alows you to choose options when spawning your ped and will only spawn 5
  298.     void nick(void)
  299.       {
  300.         if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_CAPS_LOCK))
  301.         {
  302.             //GET_GROUP_SIZE(Group group, uint *pStartIndex, uint *pCount);
  303.             uint amount,pCount;
  304.             GET_GROUP_SIZE(Bgroup, &amount, &pCount);
  305.             if (pCount < 9)// Checks the size and if under 5 will spawn 1 dude
  306.                         {
  307.                     if(darryl==0)
  308.                     {
  309.                             homies(MODEL_IG_PLAYBOY_X ,"Nick ips 2012",WEAPON_SHOTGUN, 2, 226, 65, 215);
  310.                             darryl=1;
  311.                     }
  312.                     else if(darryl==1)
  313.                     {
  314.                             homies(MODEL_M_Y_GAFR_LO_01,"REVOLUTION",WEAPON_SHOTGUN,4, 226, 65, 215);
  315.                             darryl=2;
  316.                     }
  317.                     else if(darryl==2)
  318.                     {
  319.                             homies(MODEL_M_Y_GAFR_LO_02,"Chr0m3xMoDz",WEAPON_AK47, 5, 255, 0, 0);
  320.                             darryl=3;
  321.                     }
  322.                     else if(darryl==3)
  323.                     {
  324.                             homies(MODEL_M_Y_GAFR_HI_01,"iHaZ",WEAPON_AK47,6, 255, 0, 0);
  325.                             darryl=4;
  326.                     }
  327.                     else if(darryl==4)
  328.                     {
  329.                             homies(MODEL_M_Y_GAFR_HI_02,"GTA STAR",WEAPON_RLAUNCHER, 8, 255, 0, 0);
  330.                             darryl=5;
  331.                     }
  332.                     else if(darryl==5)
  333.                     {
  334.                             homies(MODEL_M_Y_RUNNER,"Liquid44",WEAPON_RLAUNCHER, 14, 255, 0, 0);
  335.                             darryl=6;
  336.                     }
  337.                     else if(darryl==6)
  338.                     {
  339.                             homies(MODEL_M_Y_BOUNCER_02,"SPLOIDS",WEAPON_M4, 15, 255, 0, 0);
  340.                             darryl=7;
  341.                     }
  342.                     else if(darryl==7)
  343.                     {
  344.                             homies(MODEL_M_M_PMANHAT_01,"HUNTLEY",WEAPON_M4,16, 255, 0, 0);
  345.                             darryl=8;
  346.                     }
  347.                     else if(darryl==8)
  348.                     {
  349.                             homies(MODEL_M_M_PHARBRON_01,"bruce lee",WEAPON_AK47, 18, 255, 0, 0);
  350.                             darryl=0;
  351.                     }
  352.             Print("darryl's groupies");
  353.                         }}
  354.         }
  355.        
  356.         bool gangsta=0;
  357.     int biker=0;
  358.      
  359.     // Set this that the Gang will Follow you
  360.     void bitch(void)
  361.     {
  362.             if(gangsta==0)
  363.             {
  364.             GET_PLAYER_GROUP(GetPlayerIndex(), &Bgroup);
  365.             if(!DOES_GROUP_EXIST(Bgroup))
  366.             {
  367.                     CREATE_GROUP(0, Bgroup, TRUE);
  368.                     SET_GROUP_LEADER(Bgroup, GetPlayerPed());
  369.                     SET_GROUP_SEPARATION_RANGE(Bgroup, 9999.9);
  370.                     gangsta=1;
  371.             }
  372.             }
  373.     }
  374.      
  375.     // Alows you to choose options when spawning your ped
  376.     void gta(uint model, char *name, uint weapon ,float offset_y, uint Rcol, uint Gcol , uint Bcol)
  377.     {
  378.      
  379.             REQUEST_MODEL(model);
  380.             while (!HAS_MODEL_LOADED(model)) WAIT(0);
  381.            
  382.             Ped Pped = GetPlayerPed();
  383.        
  384.            
  385.             GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS(Pped, 0, offset_y , 0, &BGx, &BGy, &BGz);
  386.             CREATE_CHAR(26, model, BGx,BGy,BGz, &gameped, true);
  387.      
  388.            
  389.             SET_GROUP_MEMBER(Bgroup, gameped); // Ped as Bodyguard
  390.             SET_CHAR_NEVER_LEAVES_GROUP(gameped, TRUE); // Keeps the Group together
  391.            
  392.             SET_CHAR_ACCURACY(gameped, 100);   //
  393.             SET_CHAR_WILL_DO_DRIVEBYS(gameped, TRUE);
  394.             SET_CHAR_AS_ENEMY(gameped, TRUE);
  395.                 SET_PED_DONT_DO_EVASIVE_DIVES(gameped, FALSE);
  396.             SET_PED_PATH_MAY_DROP_FROM_HEIGHT(gameped, TRUE);
  397.             SET_PED_PATH_MAY_USE_CLIMBOVERS(gameped, TRUE);
  398.             SET_PED_PATH_MAY_USE_LADDERS(gameped, TRUE);
  399.             SET_CHAR_INVINCIBLE(gameped, TRUE);
  400.      
  401.      
  402.             UpdateWeaponOfPed(gameped, weapon); //uint weapon for ped
  403.             SET_CURRENT_CHAR_WEAPON(gameped, weapon, TRUE); // uint weapon for ped
  404.      
  405.             GIVE_PED_FAKE_NETWORK_NAME(gameped, name, Rcol, Gcol, Bcol, 255); //  255 = Color of Peds Name
  406.            
  407.     }
  408.      
  409.     // Alows you to choose options when spawning your ped and will only spawn 5
  410.     void pimp(void)
  411.       {
  412.         if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_D))
  413.         {
  414.             //GET_GROUP_SIZE(Group group, uint *pStartIndex, uint *pCount);
  415.             uint amount,pCount;
  416.             GET_GROUP_SIZE(Bgroup, &amount, &pCount);
  417.             if (pCount < 9)// Checks the size and if under 5 will spawn 1 dude
  418.             {
  419.                     if(biker==0)
  420.                     {
  421.                             gta(MODEL_IG_JASON,"biker dave",WEAPON_SHOTGUN, 2, 255, 128, 64);
  422.                             biker=1;
  423.                     }
  424.                     else if(biker==1)
  425.                     {
  426.                             gta(MODEL_IG_JOHNNYBIKER,"bob cat",WEAPON_SHOTGUN,4, 255, 128, 64);
  427.                             biker=2;
  428.                     }
  429.                     else if(biker==2)
  430.                     {
  431.                             gta(MODEL_M_M_GBIK_LO_03,"hard man harley",WEAPON_SHOTGUN, 5, 255, 128, 64);
  432.                             biker=3;
  433.                     }
  434.                     else if(biker==3)
  435.                     {
  436.                             gta(MODEL_M_Y_GBIK_HI_01,"hell smith",WEAPON_AK47,6, 255, 128, 64);
  437.                             biker=4;
  438.                     }
  439.                     else if(biker==4)
  440.                     {
  441.                             gta(MODEL_M_Y_GBIK_HI_02,"drake no brake",WEAPON_SHOTGUN, 8, 255, 128, 64);
  442.                             biker=5;
  443.                     }
  444.                     else if(biker==5)
  445.                     {
  446.                             gta(MODEL_M_Y_GBIK02_LO_02,"stu drive",WEAPON_AK47, 14, 255, 128, 64);
  447.                             biker=6;
  448.                     }
  449.                     else if(biker==6)
  450.                     {
  451.                             gta(MODEL_M_Y_GBIK_LO_01,"pain",WEAPON_MP5, 15, 255, 128, 64);
  452.                             biker=7;
  453.                     }
  454.                     else if(biker==7)
  455.                     {
  456.                             gta(MODEL_M_Y_GBIK_LO_02,"helmet matt",WEAPON_SHOTGUN,16, 255, 128, 64);
  457.                             biker=8;
  458.                     }
  459.                     else if(biker==8)
  460.                     {
  461.                             gta(MODEL_M_Y_GBIK_LO_02,"rude sean",WEAPON_AK47, 18, 255, 128, 64);
  462.                             biker=0;
  463.                     }
  464.                    Print("Hells angles");
  465.             }
  466.     }}
  467.        
  468.         void ChangePlayerModel(uint Pmodel)
  469. {
  470.  LoadModel(Pmodel);
  471.  CHANGE_PLAYER_MODEL(GetPlayerIndex(), Pmodel);
  472.  MARK_MODEL_AS_NO_LONGER_NEEDED(Pmodel);
  473.  
  474. }
  475. void player(void)
  476.    {
  477.            if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_SHIFT))
  478.         {
  479. {  
  480.  ChangePlayerModel(MODEL_M_Y_GAFR_LO_01);
  481.  
  482.  Print("darryl br0wn");
  483. }
  484. }}
  485.  
  486. #define KEY_NUM_LOCK 69
  487.          
  488.     Ped gameped;
  489.     float BGx,BGy,BGz;
  490.     Object pickup;
  491.     Object pickup1;
  492.     Object pickup2;
  493.     Object pickup3;
  494.     Object pickup4;
  495.     Object pickup5;
  496.         Object pickup6;
  497.         Object pickup7;
  498.         Object pickup8;
  499.         Object pickup9;
  500.         Object pickup10;
  501.         Object pickup11;
  502.      
  503.          
  504.     void pikcube(void)
  505.         {
  506.            if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_NUM_LOCK))
  507.     {
  508.          
  509.             Ped Pped = GetPlayerPed();
  510.             GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS(Pped, 0, 0, 0, &BGx, &BGy, &BGz);
  511.             CREATE_OBJECT(0xCD7E180D, BGx, BGy, BGz,&pickup , TRUE);
  512.             CREATE_OBJECT(0xDD28B247, BGx, BGy, BGz,&pickup1 , TRUE);
  513.             CREATE_OBJECT(0xCCEA11CA, BGx, BGy, BGz,&pickup2 , TRUE);
  514.             CREATE_OBJECT(0xBB1F6E71, BGx, BGy, BGz,&pickup3 , TRUE);
  515.                         CREATE_OBJECT(0xA6E545FD, BGx, BGy, BGz,&pickup4 , TRUE);
  516.             CREATE_OBJECT(0x5C5030D4, BGx, BGy, BGz,&pickup5 , TRUE);
  517.             CREATE_OBJECT(0x8E1EECCC, BGx, BGy, BGz,&pickup6 , TRUE);
  518.             CREATE_OBJECT(0x98A801DA, BGx, BGy, BGz,&pickup7 , TRUE);
  519.                         CREATE_OBJECT(0x451E5AC8, BGx, BGy, BGz,&pickup8 , TRUE);
  520.             CREATE_OBJECT(0x56CBFE23, BGx, BGy, BGz,&pickup9 , TRUE);
  521.             CREATE_OBJECT(0x618E13A7, BGx, BGy, BGz,&pickup10 , TRUE);
  522.             CREATE_OBJECT(0x733EB708, BGx, BGy, BGz,&pickup11 , TRUE);
  523.                
  524.             SET_OBJECT_AS_STEALABLE(pickup, true);
  525.             SET_OBJECT_AS_STEALABLE(pickup1, true);
  526.             SET_OBJECT_AS_STEALABLE(pickup2, true);
  527.             SET_OBJECT_AS_STEALABLE(pickup3, true);
  528.                         SET_OBJECT_AS_STEALABLE(pickup4, true);
  529.             SET_OBJECT_AS_STEALABLE(pickup5, true);
  530.             SET_OBJECT_AS_STEALABLE(pickup6, true);
  531.             SET_OBJECT_AS_STEALABLE(pickup7, true);
  532.                         SET_OBJECT_AS_STEALABLE(pickup8, true);
  533.             SET_OBJECT_AS_STEALABLE(pickup9, true);
  534.             SET_OBJECT_AS_STEALABLE(pickup10, true);
  535.             SET_OBJECT_AS_STEALABLE(pickup11, true);
  536.             Print("pik it up");
  537. }                      
  538.  }  
  539.  
  540.  void redneon(void)
  541. {
  542. if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_F9))
  543. {
  544.   if (IS_CHAR_IN_ANY_CAR(GetPlayerPed()))
  545.   {
  546.    Car car;
  547.    GET_CAR_CHAR_IS_USING(GetPlayerPed(), &car);
  548.    uint i;
  549.    Object lights;
  550.    {
  551.         CREATE_OBJECT(0xCB26803D, 0.0f, 0.0f, 0.0f, &lights, 1);
  552.         WAIT(1);
  553.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2474.22,214.307,5.81284,0.613,0.351,-0.613);
  554.         SET_OBJECT_LIGHTS(lights, true);
  555.         SET_OBJECT_VISIBLE(lights, true);
  556.                 SET_OBJECT_INVINCIBLE(lights, 1);
  557.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2475.6,210.274,5.01655,0.613,0.351,-0.613);
  558.         SET_OBJECT_LIGHTS(lights, true);
  559.         SET_OBJECT_VISIBLE(lights, true);
  560.                 SET_OBJECT_INVINCIBLE(lights, 1);
  561.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2474.22,214.307,5.81284,0.613,0.351,-0.613);
  562.         SET_OBJECT_LIGHTS(lights, true);
  563.         SET_OBJECT_VISIBLE(lights, true);
  564.                 SET_OBJECT_INVINCIBLE(lights, 1);
  565.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2475.6,210.274,5.01655,0.613,0.351,-0.613);
  566.         SET_OBJECT_VISIBLE(lights, true);
  567.         SET_OBJECT_INVINCIBLE(lights, 1);
  568.         SET_OBJECT_VISIBLE(lights, true);
  569.         Print("red neon");
  570. }
  571. }}}
  572.  
  573. void blueneon(void)
  574. {
  575. if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_F10))
  576. {
  577.   if (IS_CHAR_IN_ANY_CAR(GetPlayerPed()))
  578.   {
  579.    Car car;
  580.    GET_CAR_CHAR_IS_USING(GetPlayerPed(), &car);
  581.    uint i;
  582.    Object lights;
  583.    {
  584.         CREATE_OBJECT(0xD20167BE, 0.0f, 0.0f, 0.0f, &lights, 1);
  585.         WAIT(1);
  586.          ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2474.22,214.307,5.81284,0.613,0.351,-0.613);
  587.         SET_OBJECT_LIGHTS(lights, true);
  588.         SET_OBJECT_VISIBLE(lights, true);
  589.                 SET_OBJECT_INVINCIBLE(lights, 1);
  590.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2475.6,210.274,5.01655,0.613,0.351,-0.613);
  591.         SET_OBJECT_LIGHTS(lights, true);
  592.         SET_OBJECT_VISIBLE(lights, true);
  593.                 SET_OBJECT_INVINCIBLE(lights, 1);
  594.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2474.22,214.307,5.81284,0.613,0.351,-0.613);
  595.         SET_OBJECT_LIGHTS(lights, true);
  596.         SET_OBJECT_VISIBLE(lights, true);
  597.                 SET_OBJECT_INVINCIBLE(lights, 1);
  598.         ATTACH_OBJECT_TO_CAR(lights,car,0.0f,2475.6,210.274,5.01655,0.613,0.351,-0.613);
  599.         SET_OBJECT_VISIBLE(lights, true);
  600.         SET_OBJECT_INVINCIBLE(lights, 1);
  601.         SET_OBJECT_VISIBLE(lights, true);
  602.          Print("blue neon");
  603. }
  604. }}}
  605.         void PlayerModel(uint Pmodel)
  606. {
  607.  LoadModel(Pmodel);
  608.  CHANGE_PLAYER_MODEL(GetPlayerIndex(), Pmodel);
  609.  MARK_MODEL_AS_NO_LONGER_NEEDED(Pmodel);
  610.  
  611. }
  612. void nickala(void)
  613.    {
  614.            if(IS_GAME_KEYBOARD_KEY_JUST_PRESSED(KEY_SCROLL_LOCK))
  615.         {
  616. {  
  617.  PlayerModel(MODEL_IG_PLAYBOY_X);
  618.    Print("Nick");
  619.  
  620. }
  621. }}
  622. void main(void)
  623.     {
  624.             THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
  625.             while(1)
  626.             {
  627.             redneon();
  628.                     blueneon();
  629.                         pikcube();
  630.                         spawncar();
  631.             uranus();
  632.             jamaican();
  633.             groupSet();
  634.                 nick();
  635.                 bitch();
  636.                         rev();
  637.                 pimp();
  638.                     player();
  639.                 nickala();
  640.                     WAIT(0);
  641.             }
  642.     }