20.02.2012, 15:42
RP Taser System
Infos:
This is my second FS, more better than the first.
You need to turn on the taSer, with the command "/taseron", if the Taser is on, if you have fists you can use the tazer.
Who get hit by the Taser get freeze for 20 seconds and get the Crack anim.
How this works:
OnPlayerUpdate: With OnPlayerUpdate I do the Auto-Unequip when you switch with guns, for example: If you switch fists to Deagle, the taser will not show.
OnPlayerGiveDamage: With OnPlayerGiveDamage I do the taser system, the freeze and other.
Timers: I use the timers for the unfreeze and others.
Thanks to:
Norn' for GetDistanceBetweenPlayers and GetClosestPlayer.
Important:
This works ONLY for 0.3d, cuz this uses OnPlayerGiveDamage.
You can use this FS, but please, dont say this is your.
Video:
[ame]http://www.youtube.com/watch?v=lRrso4uMIBs[/ame]
Download:
Pastebin (Just open a new Pawno script, delete all and copy and paste it.)
REP+ for the work?
Bugs? Any idea? Tell me in topic, I will script/fix in next versions!