14.12.2014, 09:49
Quote:
|
Код:
if(weaponid[1] && weaponammo[1] > 0){
if(pArmedWeapon != weaponid[1]){
if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){
SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid[1]),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000);
}
}
else {
if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
RemovePlayerAttachedObject(playerid,0);
}
}
}
else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
RemovePlayerAttachedObject(playerid,0);
}
|
Quote:
|
can someone tell me how to edit this |
Etc this: "if(weaponid[1] && weaponammo[1] > 0)"
It's not the weapon ID 1 (Brass Knuckles) i dont think, because i dont see anyones mentioning 31(m4) and stuff.


