Jump to content
Sign in to follow this  
Azz -GUN-

Whats wrong here

Recommended Posts

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">#Start

?(Param1 == 1): goto "HUNT"

?(Param1 == 2): goto "M21"

?(Param1 == 3): goto "SVD"

#Loop

?(!alive player): goto "Wait"

goto "Loop"

#Wait

~10

goto "Start"

#SVD

removeAllWeapons player

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addWeapon "SVDDragunov"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

goto "Loop"

#M21

removeAllWeapons player

player addMagazine "M21"

player addMagazine "M21"

player addMagazine "M21"

player addMagazine "M21"

player addWeapon "M21"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

goto "Loop"

#HUNT

removeAllWeapons player

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addWeapon "HuntingRifle"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

goto "Loop"

<span id='postcolor'>

Share this post


Link to post
Share on other sites

I fixed problem i have 2 scripts now

init.sqs

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

player addEventHandler ["killed",{_this exec "wep.sqs"}]

?(Param1 == 1): goto "HUNT"

?(Param1 == 2): goto "M21"

?(Param1 == 3): goto "SVD"

#SVD

removeAllWeapons player

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addWeapon "SVDDragunov"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

exit

#M21

removeAllWeapons player

player addMagazine "M21"

player addMagazine "M21"

player addMagazine "M21"

player addMagazine "M21"

player addWeapon "M21"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

exit

#HUNT

removeAllWeapons player

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addWeapon "HuntingRifle"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

exit

<span id='postcolor'>

wep.sqs

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

~10

?(Param1 == 1): goto "HUNT"

?(Param1 == 2): goto "M21"

?(Param1 == 3): goto "SVD"

#SVD

removeAllWeapons player

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addMagazine "SVDDragunov"

player addWeapon "SVDDragunov"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

exit

#M21

removeAllWeapons player

player addMagazine "M21"

player addMagazine "M21"

player addMagazine "M21"

player addMagazine "M21"

player addWeapon "M21"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

exit

#HUNT

removeAllWeapons player

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addMagazine "HuntingRifleMag"

player addWeapon "HuntingRifle"

player addWeapon "Binocular"

player addWeapon "NVGoggles"

exit

<span id='postcolor'>

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×