Код:
else if(dialogid == 5538)//doadores
{
if(response)
{
if(listitem == 0)
{
SetPlayerAttachedObject( playerid, 0, 13562, 1, 1.872115, 0.000000, 0.056220, 280.806884, 87.521286, 104.509834, 1.000000, 1.000000, 1.000000 );
}
else if(listitem == 1)
{
SetPlayerAttachedObject( playerid, 0, 1608, 1, 1.313744, -0.932858, 0.007664, 177.741271, 88.974624, 177.238662, 1.000000, 1.000000, 1.000000 );
}
else if(listitem == 2)
{
SetPlayerAttachedObject( playerid, 0, 3065, 1, 0.490326, 0.005870, 0.002715, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
}
else if(listitem == 3)
{
SetPlayerAttachedObject( playerid, 0, 2647, 1, 0.694552, 0.057959, 0.022653, 15.157253, 83.239616, 0.000000, 1.000000, 1.000000, 1.000000 );
}
else if(listitem == 4)
{
SetPlayerAttachedObject( playerid, 0, 1609, 1, -1.042859, 0.086832, -0.073918, 89.852783, 351.946777, 91.897735, 0.698029, 1.000000, 0.712805 );
}
else if(listitem == 5)
{
SetPlayerAttachedObject( playerid, 0, 1409, 1, -0.920380, 0.088453, 0.000000, 3.824895, 87.493751, 0.000000, 1.399999, 2.000000, 1.600000 ); // CJ_Dump1_LOW - trash
SetPlayerAttachedObject( playerid, 1, 19006, 1, 0.564621, 0.292698, 0.042863, 357.594757, 88.274528, 95.327667, 7.000000, 8.000000, 7.000000 ); // GlassesType1 - glasses
SetPlayerAttachedObject( playerid, 2, 19077, 1, 0.383622, 0.210077, 0.052282, 0.000000, 0.000000, 0.000000, 9.000000, 12.000000, 10.000000 ); // Hair3 - bighair
SetPlayerAttachedObject( playerid, 3, 336, 6, -0.348237, -0.503257, 0.314347, 0.000000, 0.000000, 0.000000, 5.000000, 5.000000, 7.000000 ); // bat - bigbat
}
else if(listitem == 6)
{
SetPlayerAttachedObject( playerid, 0, 18693, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // Flame99 - handfire left
SetPlayerAttachedObject( playerid, 1, 18693, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // Flame99 - handfie right
SetPlayerAttachedObject( playerid, 2, 18703, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // overheat_car - dust right
SetPlayerAttachedObject( playerid, 3, 18703, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // overheat_car - dustleft
SetPlayerAttachedObject( playerid, 4, 18965, 2, 0.111052, 0.021643, -0.000846, 92.280899, 92.752510, 358.071044, 1.200000, 1.283168, 1.200000 ); // SkullyCap2 - skull
}
else if(listitem == 7)
{
SetPlayerAttachedObject( playerid, 0, 19140, 2, 0.082782, 0.036745, 0.004386, 88.674697, 78.979743, 0.000000, 1.000000, 1.000000, 1.000000 ); // PoliceGlasses3 - POLICEGLASS
SetPlayerAttachedObject( playerid, 1, 19141, 2, 0.094478, 0.007213, 0.000000, 0.000000, 0.000000, 0.000000, 1.200000, 1.200000, 1.200000 ); // SWATHelmet1 - POLICEHELMENT
SetPlayerAttachedObject( playerid, 2, 19142, 1, 0.009792, 0.041990, 0.000000, 0.000000, 0.000000, 0.000000, 1.200000, 1.200000, 1.200000 ); // SWATArmour1 - POLICE VEST
SetPlayerAttachedObject( playerid, 3, 355, 1, -0.067703, -0.209309, 0.147603, 0.735208, 52.436073, 4.960443, 1.299999, 1.299999, 1.299999 ); // ak47
}
else if(listitem == 8)
{
SetPlayerAttachedObject( playerid, 0, 1114, 1, 0.138007, 0.002714, -0.157366, 350.942352, 16.794704, 32.683506, 0.791829, 0.471535, 1.032759 ); // exh_lr_slv2 - 4
SetPlayerAttachedObject( playerid, 1, 1114, 1, 0.138007, 0.002714, 0.064523, 342.729064, 354.099456, 32.369094, 0.791829, 0.471535, 1.032759 ); // exh_lr_slv2 - 4
}
else if(listitem == 9)
{
SetPlayerAttachedObject( playerid, 1, 19086, 8, -0.049768, -0.014062, -0.108385, 87.458297, 263.478149, 184.123764, 0.622413, 1.041609, 1.012785 ); // ChainsawDildo1 - lolatdick
}
else if(listitem == 10)
{
SetPlayerAttachedObject( playerid, 0, 18645, 2, 0.017478, 0.051500, 0.003912, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // MotorcycleHelmet1 - HEAD
SetPlayerAttachedObject( playerid, 1, 18690, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // fire_car - fire2
SetPlayerAttachedObject( playerid, 2, 18716, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // prt_smoke_expand - smoke3
}
else if(listitem == 11)
{
SetPlayerAttachedObject( playerid, 0, 369, 2, -0.183602, 0.016535, -0.039228, 1.763265, 356.138977, 355.971618, 3.034477, 3.000000, 3.000000 ); // irgoggles - ON FACE
SetPlayerAttachedObject( playerid, 1, 356, 6, 0.013610, -0.021393, -0.144862, 2.354303, 354.413848, 0.219168, 3.034477, 3.000000, 3.000000 ); // m4 - M4 HAND
SetPlayerAttachedObject( playerid, 2, 359, 1, 0.000000, -0.232854, -0.241260, 354.348602, 29.348077, 357.846679, 2.000000, 2.000000, 2.000000 ); // rocketla - ROCKETBACK
SetPlayerAttachedObject( playerid, 3, 363, 7, 0.176143, 0.281574, -0.120761, 79.200103, 267.183990, 337.320526, 1.200000, 1.200000, 1.200000 ); // satchel - packet
}
}
return 1;
}