mirror of
https://github.com/iDisaster/GTAConnected.git
synced 2026-03-08 09:25:23 +00:00
678 lines
49 KiB
C
678 lines
49 KiB
C
/**
|
|
* @ MAJOR DISTRIBUTION EXTEND
|
|
* @ Version MDv13 TRIDENT
|
|
* @ MADE BY - DEVILSDESIGN & IIV NATHAN VII
|
|
*/
|
|
#pragma once
|
|
|
|
|
|
void MD_Attachments_Setup(void){
|
|
item_highlighted = 7;
|
|
MENU_SUB_HEADER = "Player Attachments";
|
|
NETWORK_FIRST_FOUR_ITEMS_MENU_SETUP();
|
|
Add_JumpOver("~BLIP_94~ MD P L A Y E R A T T A C H M E N T S ~BLIP_94~"); //5
|
|
AddBool("~BLIP_68~ Clear Previous Attachments",renew_attached); //6
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Cubes ",8); //7
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Hands",18); //8
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Tools",20); //9
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Lights ",11); //10
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Various ",2); //11
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Fire",6); //12
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Feet",4); //13
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Head ",17); //14
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Statue ",8); //15
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Tribe",7); //16
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Funny",9); //17
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Birds ",4); //18
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Effects",6); //19
|
|
AddFunction_Value_CB("~BLIP_62~ ~b~MD ~c~Vegetation ",7); //20
|
|
return;
|
|
}
|
|
|
|
void MD_Attachments_Action(void){
|
|
NETWORK_FIRST_FOUR_ITEMS_MENU_ACTION();
|
|
//Jumpover 5
|
|
if(SelectedItem == 6){
|
|
renew_attached = !renew_attached;
|
|
menu_item[SelectedItem].extra_val = renew_attached;
|
|
Alert_Two("~BLIP_76~ ~c~Clear Objects Before Attaching New Ones", renew_attached ? PrintON : PrintOFF ,false);
|
|
}
|
|
if(PLAYER_HAS_CHAR(players[ChangeNetPlayer].id))
|
|
{//8
|
|
if(SelectedItem == 7){//8 Cubes
|
|
float obj_x , obj_y, obj_z, obj_rx, obj_ry, obj_rz;
|
|
int pedbone;
|
|
Object object;
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1)object = 0x2718C626, pedbone = 0, obj_x = -0.0257, obj_y = 0.0198, obj_z = -1.4678, obj_rx = 0, obj_ry = 0, obj_rz = 5.4700;
|
|
else if(menu_item[SelectedItem].num_val == 2)object = 0x5C5030D4, pedbone = 0, obj_x = -0.0257, obj_y = 0.0198, obj_z = -1.4678, obj_rx = 0, obj_ry = 0, obj_rz = 5.4700;
|
|
else if(menu_item[SelectedItem].num_val == 3)object = 0xCCEA11CA, pedbone = 0, obj_x = -0.0257, obj_y = 0.0198, obj_z = -1.4678, obj_rx = 0, obj_ry = 0, obj_rz = 5.4700;
|
|
else if(menu_item[SelectedItem].num_val == 4)object = 0xBB1F6E71, pedbone = 0, obj_x = -0.0257, obj_y = 0.0198, obj_z = -1.4678, obj_rx = 0, obj_ry = 0, obj_rz = 5.4700;
|
|
else if(menu_item[SelectedItem].num_val == 5)object = 0xDD28B247, pedbone = 0, obj_x = -0.0257, obj_y = 0.0198, obj_z = -1.4678, obj_rx = 0, obj_ry = 0, obj_rz = 5.4700;
|
|
else if(menu_item[SelectedItem].num_val == 6)object = 0xA6E545FD, pedbone = 0, obj_x = -0.0257, obj_y = 0.0198, obj_z = -1.4678, obj_rx = 0, obj_ry = 0, obj_rz = 5.4700;
|
|
else if(menu_item[SelectedItem].num_val == 7){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x2718C626,0,1,0.0,0.0,0.0,0.0,3.0,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xDD28B247,0,-1,0.0,0.0,0.0,0.0,3.0,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xCCEA11CA,0,0,1,0.0,0.0,0.0,3.0,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xBB1F6E71,0,0,-1,0.0,0.0,0.0,3.0,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xA6E545FD,0,0,0.0,1,0.0,0.0,3.0,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x5C5030D4,0,0,0.0,-1,0.0,0.0,3.0,5);
|
|
Alert("~BLIP_76~ ~c~Attached Cubeman",false);
|
|
}
|
|
if(menu_item[SelectedItem].num_val > 0 && menu_item[SelectedItem].num_val < 8){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), object,pedbone,obj_x, obj_y, obj_z, obj_rx, obj_ry,obj_rz,0);
|
|
Alert("~BLIP_76~ ~c~Selected Object Attached",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 8){//12 Hands
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){//Umbrella
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-797519906,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -853576856,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.1400, 6.2300,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Umbrella 2",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1159420742,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.1400, 6.2300,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Umbrella 3",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -853576856,BONE_RIGHT_HAND, 0.1311, -0.0010, 0.1784, 0.0000, 1.5200,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Gunbrella 1",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1159420742,BONE_RIGHT_HAND, 0.1311, -0.0010, 0.1784, 0.0000, 1.5200,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Gunbrella 2",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -797519906,BONE_RIGHT_HAND, 0.1311, -0.0010, 0.1784, 0.0000, 1.5200,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Gunbrella 3",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){//Shopping bag
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1643885955,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){//Luggage
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-647773926,BONE_RIGHT_HAND, 0.2806, 0.0000, 0, 6.3000, 4.7000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-647773926,BONE_LEFT_HAND, 0.2806, 0.0000,0, 6.3000, 4.7000,0.0000,1);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 9){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -311280716,BONE_RIGHT_HAND, -0.1000, 0.0000, 0, 0.0000, 1.2500,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -311280716,BONE_LEFT_HAND, -0.1000, 0.0000, 0, 0.0000, 1.6000,0.0000,1);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 10){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1443084780,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -886669251,BONE_RIGHT_HAND, 0.4628, -0.0037, 0.0618, 0.0000, 3.1899,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,BONE_RIGHT_HAND, -0.0232, 0.0232, 0.0918, 0.0000, 4.7500,0.0000,2);
|
|
Alert("~BLIP_76~ ~c~Glowgun",false);//hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 11){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1758564455,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 758835816,BONE_RIGHT_HAND, 0.0650, -0.0227, 0.6113, 4.6200, 1.5100,0.5300,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 758835816,BONE_RIGHT_HAND, 0.1100, -0.0618, 0.6185, 1.5400, 1.5100,0.5300,2);
|
|
Alert("~BLIP_76~ ~c~Lightsaber",false);//hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 12){//Luggage
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1735854596,BONE_RIGHT_HAND, -0.0117, -0.0007, 0.0075, 6.2600, 4.0699,0.0600,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1166402234,BONE_RIGHT_HAND, 0.4756, -0.0022, 0.0484, 4.8100, 4.7600,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1166402234,BONE_RIGHT_HAND, 0.4756, -0.0022, 0.0591, 1.6600, 4.7600,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -886669251,BONE_RIGHT_HAND, 0.5622, 0.0751, 0.0427, 0.0000, 0.0000,3.2500,3);
|
|
Alert("~BLIP_76~ ~c~LaserGun",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 13){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1735854596,BONE_RIGHT_HAND, -0.0117, -0.0007, 0.0075, 6.2600, 4.0699,0.0600,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1516578222,BONE_RIGHT_HAND, 0.4661, 0.0144, 0.0529, 0.0000, 0.0000,4.7800,1);
|
|
Alert("~BLIP_76~ ~c~RocketGun",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 14){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 897930585,BONE_RIGHT_HAND, 0.2461, 0.0285, -0.0447, 0.0000, 0.1000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 897930585,BONE_RIGHT_HAND, 0.2461, 0.0285, -0.0447, 1.0000, 0.1000,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 897930585,BONE_RIGHT_HAND, 0.2461, 0.0285, -0.0447, 2.0000, 0.1000,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 897930585,BONE_RIGHT_HAND, 0.2461, 0.0285, -0.0447, 3.0000, 0.1000,0.0000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 897930585,BONE_RIGHT_HAND, 0.2461, 0.0285, -0.0447, 4.0000, 0.1000,0.0000,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 897930585,BONE_RIGHT_HAND, 0.2461, 0.0285, -0.0447, 5.0000, 0.1000,0.0000,5);
|
|
Alert("~BLIP_76~ ~c~TurboM4",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 15){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1554952292,BONE_RIGHT_HAND, 0.1344, 0.0079, 0.0156, 0.4500, 0.0000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1554952292,BONE_RIGHT_HAND, 0.1344, 0.0079, 0.0156, 1.5000, 0.0000,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1554952292,BONE_RIGHT_HAND, 0.1344, 0.0079, 0.0156, 2.5500, 0.0000,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1554952292,BONE_RIGHT_HAND, 0.1344, 0.0079, 0.0156, 3.6000, 0.0000,0.0000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1554952292,BONE_RIGHT_HAND, 0.1344, 0.0079, 0.0156, 4.6500, 0.0000,0.0000,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1554952292,BONE_RIGHT_HAND, 0.1344, 0.0079, 0.0156, 5.7000, 0.0000,0.0000,5);
|
|
Alert("~BLIP_76~ ~c~TurboDeagle",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 16){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1443084780,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.1100,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 945404608,BONE_RIGHT_HAND, -0.3094, 0.0000, 0.0000, 0.0300, 4.8100,0.0400,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1005973733,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 5.8700, 5.8400,1.6000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1781111577,BONE_RIGHT_HAND, 0.1972, 0.0000, 0.0000, 5.8600, 5.8400,1.6000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1781111577,BONE_RIGHT_HAND, 0.1972, 0.0000, 0.0000, 5.8600, 5.8400,1.6000,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,BONE_RIGHT_HAND, 0.3189, 0.0000, 0.0000, 0.0300, 1.4700,0.0000,5);
|
|
Alert("~BLIP_76~ ~c~Disco Launcher",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 17){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 2084514704,BONE_HEAD, -0.4178, 0.3060, -0.1397, 1.4000, 5.6700,1.5500,0);
|
|
Alert("~BLIP_76~ ~c~SaxPlayer",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 18){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 9){ //12 Tools
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){//Saw
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 843240193,BONE_RIGHT_HAND, 0.1672, -0.0931, 0.7556, 6.1500, 3.2400,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Cane",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){//Axe
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 843240193,BONE_RIGHT_HAND, 0.1672, -0.0931, 0.7556, 6.1500, 3.2400,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -886669251,BONE_RIGHT_HAND, 0.1694, -0.1615, 1.1096, 5.9500, 1.7300,5.1900,1);
|
|
Alert("~BLIP_76~ ~c~Cane v2",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){//Jackhammer
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 2113166995,BONE_RIGHT_HAND, 0.0661, -0.0422, 0.2706, 0.1200, 0.0200,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Slegehammer",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){//Pickaxe
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -257284559,BONE_RIGHT_HAND, 0.0417, -0.0290, 0.1885, 0.1200, 6.2500,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Pickaxe",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){//Rake
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1813753615,BONE_RIGHT_HAND, 0.0311, 0.0000, 0.0000, 0.2800, 5.9000,0.1600,0);
|
|
Alert("~BLIP_76~ ~c~Broom",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){//Bighammer
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1892875956,BONE_RIGHT_HAND, 0.0417, 0.0000, 0.0000, 0.2000, 5.9500,6.1300,0);
|
|
Alert("~BLIP_76~ ~c~Rake",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){//Nailgun
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1530440164,BONE_RIGHT_HAND, 0.0228, 0.0544, -0.1390, 4.8500, 3.6899,2.6400,0);
|
|
Alert("~BLIP_76~ ~c~Spade",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1409043984,BONE_RIGHT_HAND, 0.1472, -0.0093, -0.1719, 0.1500, 0.0800,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Wrench",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 9){//Saw
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1977261975,BONE_RIGHT_HAND, 0.3317, 0.0000,0, 0.1000, 0.4500,3.1700,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 10){//Axe
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 824817939,BONE_RIGHT_HAND, 0.1117, -0.0178, 0.2023, 6.1400, 6.2600,3.2499,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 11){//Jackhammer
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1234161243,BONE_RIGHT_HAND, 0, 0.0061,-0.0086, 0.0000, 0.0000,5.9600,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 12){//Pickaxe
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-257284559,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 13){//Rake
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1892875956,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 14){//Bighammer
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 2113166995,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 15){//Nailgun
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1576276196,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Nailgun",false); // hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 16){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 702063252,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Hammer",false); //hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 17){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 2002027012,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Drill",false);//hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 18){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1813753615,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Broom",false);//hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 19){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -805425417,BONE_LEFT_HAND, 0.1594, 0.0154, -0.0039, 4.4200, 5.4500,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Laptop, use swat stride",false);//hand
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 20){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 10){//11 Lights
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-886669251,BONE_SPINE3, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 608452317,BONE_SPINE2, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,3.0000,0);
|
|
Alert("~BLIP_76~ ~c~Yellow Glow",false);//body
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -55367575,BONE_SPINE2, 0.0000, 0.0000, 0.0000, 0.0000, 4.7500,3.0000,0);
|
|
Alert("~BLIP_76~ ~c~White Glow",false);//body
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 608452317,BONE_HEAD, 0.0050, -0.0394, 0.0011, 0.0000, 0.0000,3.2000,0);
|
|
Alert("~BLIP_76~ ~c~Lampface",false);//head
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,0, -0.0348, 0.0285, -1.8233, 0, 0,0,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,0, -0.0348, 0.0285, -1.8233, 0, 0,0,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,0, -0.0348, 0.0285, -1.8233, 0, 0,0,2);
|
|
Alert("~BLIP_76~ ~c~Blue Neon",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 760821872,0,-0.930, -0.2597, -2.9028, 3.9899, 6.2600,5.7800,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 760821872,0,-0.930, -0.2597, -2.9028, 3.9899, 6.2600,5.7800,1);
|
|
Alert("~BLIP_76~ ~c~White Neon",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1781111577,0, 0.0953, 0.1401, -1.3233,4.2000, 0.0400,2.3625,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1781111577,0, 0.0953, 0.1401, -1.3233,4.2000, 0.0400,2.3625,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1781111577,0, 0.0953, 0.1401, -1.3233,4.2000, 0.0400,2.3625,2);
|
|
Alert("~BLIP_76~ ~c~Purple Flash ",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1005973733,0,0.0577, -0.1013, -2.5672,4.200, 0,0,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1005973733,0,0.0577, -0.1013, -2.5672,4.200, 0,0,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1005973733,0,0.0577, -0.1013, -2.5672,4.200, 0,0,2);
|
|
Alert("~BLIP_76~ ~c~Green Flash",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 9){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -886669251,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 1.1400, 2.8499,6.1600,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -886669251,BONE_LEFT_HAND, 0.0000, 0.0000, 0.0000, 1.1400, 3.2799,6.1600,1);
|
|
Alert("~BLIP_76~ ~c~Red Hands",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 10){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,BONE_RIGHT_HAND, -0.6161, 0.0079, -0.1696, 6.2900, 1.2900,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -771659842,BONE_LEFT_HAND, -0.6161, 0.0079, -0.1696, 6.3500, 1.2900,0.0000,1);
|
|
Alert("~BLIP_76~ ~c~Blue Hands",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 11){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 11){//2 Various
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1512691932,BONE_HEAD, 28.0000, 0.0000, 0, 0.0000, 1.5000,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 12){//5 Fire
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 945404608,BONE_RIGHT_FOOT, 0.0000, 0.0000, 0.0000, 0.0000, 4.7200,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 945404608,BONE_LEFT_FOOT, 0.0000, 0.0000, 0.0000, 0.0700, 4.8400,0.0000,1);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 945404608,BONE_RIGHT_HAND, 0.0000, 0.0000, 0.0000, 0.2000, 1.2200,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 945404608,BONE_LEFT_HAND, 0.0000, 0.0000, 0.0000, 0.2000, 1.7100,0.0000,1);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 945404608,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 5.0200, 1.4500,0.0000,0);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -215358907,0,-1.3342, 1.0025, -3.6306, 0, 0,0,0);
|
|
Alert("~BLIP_76~ ~c~Flame",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 5.5125,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 4.7250,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 3.9375,0.0000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 3.1500,0.0000,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 2.3625,0.0000,5);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 1.5750,0.0000,6);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0000, 0.7875,0.0000,7);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 5.5125, 0.0000,0.0000,8);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 4.7250, 0.0000,0.0000,9);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 3.9375, 0.0000,0.0000,10);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 2.3625, 0.0000,0.0000,11);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 1.5750, 0.0000,0.0000,12);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.7875, 0.0000,0.0000,13);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 5.5125, 4.7250,0.0000,14);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 2.3625, 4.7250,0.0000,15);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 3.9375, 4.7250,0.0000,16);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.7875, 4.7250,0.0000,17);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 0.0800, 0.1000,0.8000,18);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 5.4400, 5.8200,0.3525,19);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 4.1100, 0.1300,0.5825,20);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 2.2199, 5.9500,0.5825,21);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 2.8899, 5.3300,1.1525,22);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 3.3299, 0.9600,1.1525,23);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 2.3799, 2.6400,1.1525,24);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 451384443,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 3.4299, 2.2800,1.1525,25);
|
|
Alert("~BLIP_76~ ~c~FireBall",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 13){//4 Feet
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 608452317,BONE_RIGHT_FOOT, 0.1644, 0.0413, -0.0058, 0.0000, 0.0000,4.7500,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 608452317,BONE_LEFT_FOOT, 0.1644, 0.0413, -0.0058, 0.0000, 0.0000,4.7500,1);
|
|
Alert("~BLIP_76~ ~c~Sneakers",false);//feet
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1951625347,BONE_RIGHT_TOE, 0.0000, 0.0000, 0.0000, 0.0000, 5.0000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1951625347,BONE_LEFT_TOE, 0.0000, 0.0000, 0.0000, 0.0000, 5.0000,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1951625347,BONE_RIGHT_FOOT, 0.0000, 0.0000, 0.0000, 0.0000, 3.5099,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1951625347,BONE_LEFT_FOOT, 0.0000, 0.0000, 0.0000, 0.0000, 5.9600,0.0000,3);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),983294893,BONE_RIGHT_TOE, 0.0000, 0.0000, 0.0000, 0.0000, 5.0000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),983294893,BONE_LEFT_TOE, 0.0000, 0.0000, 0.0000, 0.0000, 5.0000,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),983294893,BONE_RIGHT_FOOT, 0.0000, 0.0000, 0.0000, 0.0000, 3.5099,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),983294893,BONE_LEFT_FOOT, 0.0000, 0.0000, 0.0000, 0.0000, 5.9600,0.0000,3);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 14){//13 Head
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-316400372,BONE_HEAD, 0.0161, 0.0286, 0.0004, 3.1599, 4.7300,0.0000,0);//no
|
|
Alert("~BLIP_76~ ~c~Ugly Face",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),760821872,BONE_HEAD, -0.1133, -0.0451, 0.0136, 3.0299, 4.6500,0.0000,0);//no
|
|
Alert("~BLIP_76~ ~c~Welder Mask",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1781111577,BONE_HEAD, 0.0000, 0.0000, 0.0000, 2.4699, 4.6100,0.0000,0);//ok
|
|
Alert("~BLIP_76~ ~c~Purple Flasher",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1005973733,BONE_HEAD, 0, 0.1382, -0.0075, 2.5600, 4.6200,0.0000,0);//ok
|
|
Alert("~BLIP_76~ ~c~Green Flasher",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1218037800,BONE_HEAD, -0.1944, 0.0000,0, 4.7700, 6.1700,4.7250,0);//no
|
|
Alert("~BLIP_76~ ~c~White Torch",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-21824081,BONE_HEAD, 0.5289, 0.0000, 0, 0.1300, 1.5000,0.0000,0);//no
|
|
Alert("~BLIP_76~ ~c~Discoball",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),529682743,BONE_HEAD,0.1267, 0.0000, 0, 0.3200, 1.5000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-771659842,BONE_HEAD, 0.1300, 0.0000, 0, 0.3200, 1.5000,0.0000,1);
|
|
Alert("~BLIP_76~ ~c~Conehead",false);//no
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 2088780331,BONE_HEAD, 0.1411, 0.0000, 0, 2.9999, 4.6000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Pornhead",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 9){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1732712585,BONE_HEAD, 0.0000, 0.0000, 0.0000, 5.9700, 1.9200,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1732712585,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.3300, 5.1400,3.1099,1);
|
|
Alert("~BLIP_76~ ~c~Devils Horns",false);//ok
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 10){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-596812191,BONE_HEAD, -0.0050, 0.0896, 0.0172, 0.0900, 1.5300,3.1500,0);
|
|
Alert("~BLIP_76~ ~c~NightVision",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 11){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 702063252,BONE_HEAD, 0.0344, 0.0000, -0.2517, 0.0000, 0.3000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Hammerhead",false);//head
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 12){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1321337085,BONE_HEAD, 0.0394, 0.2304, 0.0003, 4.7400, 0.0700,6.1300,0);
|
|
Alert("~BLIP_76~ ~c~Pinokkio",false);//head
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 13){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 357185076,BONE_HEAD, 0.2728, -0.0402, -0.0073, 2.9999, 4.7500,6.2800,0);
|
|
Alert("~BLIP_76~ ~c~Red Hat",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 14){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 608440971,BONE_HEAD, 0.2911, -0.0275, 0.0000, 6.2900, 4.7000,3.0000,0);
|
|
Alert("~BLIP_76~ ~c~Yellow Hat",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 15){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 831073557,BONE_HEAD, 0.2639, -0.0307, 0.0000, 0.1100, 1.5800,0,0);
|
|
Alert("~BLIP_76~ ~c~Purple Hat",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 16){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1060426998,BONE_HEAD, 0.4328, -0.0418, 0.0065, 6.1900, 4.6900,0,0);
|
|
Alert("~BLIP_76~ ~c~Black Hat",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 17){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 15){//8 Statue
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-556881908,BONE_HEAD,-0.45,-0.26, 0, 0, 6.300*0.75,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Bust/head 1",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-316947286,BONE_HEAD ,-0.45,-0.25, 0, 0, 6.300*0.75,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Bust/head 2",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1671584977,BONE_HEAD,-0.4,-0.25, 0, 0, 6.300*0.75,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Bust/head 3",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1855419067,BONE_HEAD,-0.4,-0.25, 0, 0, 6.300*0.75,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Bust/head 4",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1078040080,BONE_HEAD,-0.4,-0.25, 0, 0, 6.300*0.75,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Bust/head 5",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),2056950190,0,-0.0060, 0.0267, 1.3283, 0, 0,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Golden Angel",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1574992650,0,0.0241, 0.0968, -2.1717, 0, 0.0100,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Egypt Statue 1",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),555286908,0,0, 0.1247, -1.1856, 0, 0,3.150,0);
|
|
Alert("~BLIP_76~ ~c~Egypt Statue 2",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
else if(SelectedItem == 16){//4 Tribe
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1175141365,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.4000, 1.5000,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Tribe 1",false);//ok
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),924329804,BONE_HEAD, 0.1122, 0.0, 0.0, 0.0000,4.7100,3.15000,0);
|
|
Alert("~BLIP_76~ ~c~Tribe 2",false);//no
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),924329804,BONE_HEAD, 0.1122, 0.0800, 0, 0.0000, 4.7100,3.1500,0);
|
|
Alert("~BLIP_76~ ~c~Tribe 3",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.2400, 1.5500,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Tribe 4",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.1500, 1.5500,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.1500, 2.5500,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.1500, 0.5500,0.0000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_HEAD, 0.0000, 0.0000, 0.0000, 1.1500, 1.5500,0.0000,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_RIGHT_CALF, 0.0000, 0.0000, 0.0000, 1.0000, 0.0000,0.0000,5);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_LEFT_CALF, 0.0000, 0.0000, 0.0000, 2.0000, 0.0000,0.0000,6);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_RIGHT_THIGH, 0.0000, 0.0000, 0.0000, 1.0000, 0.0000,0.0000,7);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_LEFT_THIGH, 0.0000, 0.0000, 0.0000, 2.0000, 0.0000,0.0000,8);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 1.5000, 0.0000,0.0000,9);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_RIGHT_FOREARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,10);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_LEFT_FOREARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,11);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_RIGHT_UPPERARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,12);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_LEFT_UPPERARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,13);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1175141365,BONE_SPINE3, 0.0000, 0.0000, 0.0000, 1.5000, 0.0000,0.0000,14);
|
|
Alert("~BLIP_76~ ~c~TribeMan 1",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.1500, 1.5500,0.0000,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.1500, 2.5500,0.0000,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_HEAD, 0.0000, 0.0000, 0.0000, 0.1500, 0.5500,0.0000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_HEAD, 0.0000, 0.0000, 0.0000, 1.1500, 1.5500,0.0000,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_RIGHT_CALF, 0.0000, 0.0000, 0.0000, 1.0000, 0.0000,0.0000,5);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_LEFT_CALF, 0.0000, 0.0000, 0.0000, 2.0000, 0.0000,0.0000,6);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_RIGHT_THIGH, 0.0000, 0.0000, 0.0000, 1.0000, 0.0000,0.0000,7);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_LEFT_THIGH, 0.0000, 0.0000, 0.0000, 2.0000, 0.0000,0.0000,8);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_PELVIS, 0.0000, 0.0000, 0.0000, 1.5000, 0.0000,0.0000,9);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_RIGHT_FOREARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,10);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_LEFT_FOREARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,11);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_RIGHT_UPPERARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,12);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_LEFT_UPPERARM, 0.0000, 0.0000, 0.0000, 5.0000, 0.0000,0.0000,13);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1687106956,BONE_SPINE3, 0.0000, 0.0000, 0.0000, 1.5000, 0.0000,0.0000,14);
|
|
Alert("~BLIP_76~ ~c~TribeMan 2",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
else if(SelectedItem == 17){//8 Funny
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x322780D0,BONE_PELVIS, 0.0120, 0.1808, 0.0122, 4.8500, 1.5100,5.9500,0);
|
|
Alert("~BLIP_76~ ~c~Dick",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x6F181807,BONE_PELVIS, 0.0223, 0.2905, 0, 4.7500, 0.4900,5.9600,0);
|
|
Alert("~BLIP_76~ ~c~Big dick",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1406190916,BONE_PELVIS, -0.0859, 0.3088, -0.1056, 4.6600, 0,0.0900,0);
|
|
Alert("~BLIP_76~ ~c~Leprechaun (on crotch)",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xDD16F3A4,0,0,-0.3,-1.7694,0,0,0,0);//Stop Sign
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xDD16F3A4,0,0,0.3,-1.7694,0,0,3.150,1);//Stop Sign
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xDD16F3A4,0,-0.3,0,-1.7694,0,0,4.7250,2);//Stop Sign
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xDD16F3A4,0,0.3,0,-1.7694,0,0,1.5750,3);//Stop Sign
|
|
Alert("~BLIP_76~ ~c~Stop sign!!",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x1B42315D, BONE_PELVIS,0.0025,0.0622,0, 0.0900,4.7200,3.0700,0);
|
|
Alert("~BLIP_76~ ~c~Hippofied",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 2005381825,BONE_SPINE3, 0, -0.2531, 0.1038, 0.0000, 1.5500,0.0000,0);
|
|
Alert("~BLIP_76~ ~c~Backpack",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){//Devils Wings
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, 0.0494, -0.2047,-0.2530, 3.9999, 5.9800,3.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, 0.0494, -0.2047, 0.2499, 3.9999, 3.4000,3.0000,1);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 8){//Devils Wings V3
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, 0.0017, -0.1618, 0.1794, 0.8000, 6.1000,0.0000,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, -0.0833, -0.2998, 0.2888, 0.8600, 6.1400,0.0900,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, -0.2406, -0.4037, 0.3400, 0.8700, 6.0800,0.0900,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, 0.0433, -0.0818, -0.2505, 2.8900, 0.0000,0.0000,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, -0.0239, -0.1320, -0.4693, 2.8900, 6.1400,0.0600,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 317353028,BONE_SPINE3, -0.1900, -0.1780, -0.6459, 2.8900, 6.2500,0.0600,5);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 9){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 18){//4 Birds
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_HEAD,-0.1, -0.0007,0.1728, 0, 1.3700,0,0);
|
|
Alert("~BLIP_76~ ~c~Pigeon on shoulder",false);
|
|
}
|
|
if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_HEAD,-0.1, -0.0007,0.1728, 0, 1.3700,0,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_HEAD, 0.1, -0.0007,0.1728, 0, 1.3700,0,0);
|
|
Alert("~BLIP_76~ ~c~2 Pigeons on shoulder",false);
|
|
}
|
|
if(menu_item[SelectedItem].num_val == 3){
|
|
if(renew_attached)clear_attachments();
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_RIGHT_FOOT, 0.0594, 0.1545, 0.0113, 4.9900, 6.1900,1.5100,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_LEFT_FOOT, 0.0594, 0.1545, 0.0113, 4.9900, 2.9299,1.5100,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_RIGHT_HAND, 0.1167, 0.0210, 0.0053, 0.0000, 0.0000,1.5200,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_LEFT_HAND, 0.1167, 0.0210, 0.0053, 3.3000, 0.0000,4.6800,3);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_RIGHT_FOREARM, 0.1167, 0.0210, 0.0053, 3.3000, 0.0000,4.6800,4);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_LEFT_FOREARM, 0.1167, 0.0210, 0.0053, 3.3000, 3.3900,4.6800,5);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_SPINE3, 0.2139, -0.0035, -0.1546, 6.2500, 4.5000,2.9500,6);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_SPINE3, 0.2139, -0.0136, 0.1466, 6.0000, 4.8000,3.2400,7);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_PELVIS, 0.0000, -0.1275, -0.0114, 1.6200, 1.5900,0.0000,8);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -221252636,BONE_HEAD, 0.1689, 0.0000, 0.0000, 0.0000, 4.8400,2.9300,9);
|
|
Alert("~BLIP_76~ ~c~Birdman",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 19){//6 Effects
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x3427A4F4,0,0,0,-18.800,0,0,0,0);
|
|
Alert("~BLIP_76~ ~c~White Smoke",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0xFD810533,0,7.8201,15.7448,-28.8000,0.7900,0.4000,1.3100,0);
|
|
Alert("~BLIP_76~ ~c~Red Smoke",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 0x397C604F,0,0.4922,-0.0288,-1.0625,3.1599,0,6.1300,0);
|
|
Alert("~BLIP_76~ ~w~Shower",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1439316710,0, 0.1092, 0.1697, 0.16, 0, 3.0700,5.5125,0);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1439316710,0, 0.1092, 0.1697, 0, 0, 3.0700,5.5125,1);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1439316710,0, 0.1092, 0.1697, -0.16, 0, 3.0700,5.5125,2);
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), 1439316710,0, 0.1092, 0.1697, -0.32, 0, 3.0700,5.5125,3);
|
|
Alert("~BLIP_76~ ~c~Sparks",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id), -1644345434,0,0, 0, 0, 0, 0,0,0);
|
|
Alert("~BLIP_76~ ~c~Darkness",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
else if(SelectedItem == 20){//7 Vegetation
|
|
if(renew_attached)delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
if(menu_item[SelectedItem].num_val == 1){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1447273211,BONE_ROOT,0,0,-1.2772,0,0,0,0);
|
|
Alert("~BLIP_76~ ~c~Big And Bushy",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 2){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1196022682,BONE_PELVIS,0,0, 0, 0, 1.6400,0,0);
|
|
Alert("~BLIP_76~ ~c~Flower pot",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 3){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),180874309,BONE_ROOT,0,0,-1.0656,0,0,0,0);
|
|
Alert("~BLIP_76~ ~c~Scotchpine Attached",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 4){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),-1161067121,BONE_ROOT,0,0,-0.9906,0,0,0,0);
|
|
Alert("~BLIP_76~ ~c~AG-Tree Attached",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 5){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),1012779602,BONE_ROOT,0,0,-1.1672,0,0,0,0);
|
|
Alert("~BLIP_76~ ~c~Beech Tree Attached",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 6){
|
|
attach_object_to_player(PLAYER_CHAR(players[ChangeNetPlayer].id),727520683,BONE_ROOT,0,0,-1.1372,0,0,0,0);
|
|
Alert("~BLIP_76~ ~c~Live Oak Attached",false);
|
|
}
|
|
else if(menu_item[SelectedItem].num_val == 7){
|
|
delete_objects_on_ped(PLAYER_CHAR(players[ChangeNetPlayer].id));
|
|
}
|
|
}
|
|
}
|
|
}
|