10.02.2012, 14:36
Hey , how to make a cmd with putting it off
Код:
CMD:alien( playerid, params[] ) { for ( new i = 0; i < 5; i ++ ) if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) ) RemovePlayerAttachedObject( playerid, i ); 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 return 1; }