Jump to content

[Looking for] Anti weapon fire spam script


Kiss

Recommended Posts

Beginner scripter here,

 

you could try to use:

setWeaponProperty

  • "anim_loop_start" - float - Start of aimed firing animation loop
  • "anim_loop_stop" - float - End of aimed firing animation loop (Reduce to increase firing rate)
  • "anim_loop_bullet_fire" - float - Time in aimed firing animation when weapon should be fired (Must be between Start and End)

I would try to use the following settings:

¨anim_loop_start¨ 0.2 or 0.3

¨anim_loop_bullet_fire¨ 0.2 or 0.3 (same settings you used for anim_loop_start)

¨anim_loop_stop¨ 5.0 or something big (the larger this amount the later the player can fire again)

Just try whether or not it works ;)

 

-Noah

Edited by Noah_Antilles
Link to comment

Hey [CIN]Kiss , i'll try to do it now wait 20 mins ! 

 

https://github.com/RaMSos/AntiSpamWeps/blob/master/client

Here you are , client side just do meta.xml

NOTE: this for only RPG if u wanna for everyweapons then make again client side 

and copy paste i give u (clientside)

then edit this line : 

if weapon == 36 then

 

 edit " 36 " for weapon u want to do Anti Spam

NOTICE: 36 is the RPG id , change it to example : (M4) Id WHATEVER ..

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...