Weapon holder script
#7

Код:
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);
                }
Reply


Messages In This Thread
Weapon holder script - by CalvinC - 10.12.2014, 16:22
Re: Weapon holder script - by M4D - 10.12.2014, 16:24
Re: Weapon holder script - by zT KiNgKoNg - 10.12.2014, 16:25
Re: Weapon holder script - by CalvinC - 10.12.2014, 16:35
Re: Weapon holder script - by CalvinC - 11.12.2014, 12:53
Re: Weapon holder script - by CalvinC - 14.12.2014, 09:11
Re: Weapon holder script - by dominik523 - 14.12.2014, 09:39
Re: Weapon holder script - by CalvinC - 14.12.2014, 09:49
Re: Weapon holder script - by CalvinC - 15.12.2014, 11:46
Re: Weapon holder script - by pcp - 15.12.2014, 13:02

Forum Jump:


Users browsing this thread: 3 Guest(s)