SA-MP Forums Archive
[FilterScript] Missile Hunter Limit Ammo with Reload Time ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Missile Hunter Limit Ammo with Reload Time ! (/showthread.php?tid=554095)



Missile Hunter Limit Ammo with Reload Time ! - colonel-top - 02.01.2015

Hello Guys

My name is Colonel and this I think this will be the first scripts that I release and it's stable hahaha
if it's gonna bug please report & sorry for my bad English


What is it ?

A long time ago I was seeing that in SAMP there have some point isn't really, like hunter and jet fired missile with no reload...
so I writing a simple script with freeze players to prevent they fired a missile and make a reload time
if it's doesn't work, please tell me I will fix it so this is simply scripts cause I'm not good too much with it .
please try and told me how about it thank you ^^ ,so if it's doesn't work apologize here with but I already test it :P hahaha
DO NOT RE-PUBLISH
EDIT USE ON YOUR OWN ONLY !
Copyright Colonel Technology

Defining The Variables

pawn Код:
#define hunterammo 14 //ammo missile of hunter
#define hydraammo 12 //ammo missile of hunter
#define reloadtime 5000 //Time to reload in Millisecond
Update!

PHP код:
Here we go 
pawn Код:
Added Textdraw
Added Hydra Ammo limit
Added Bug Fix TD
Added Hunter Missile Limit
Download in Attached Files ... Thank you

Download Pastebin

Screenshot




Re: Missile Hunter Limit Ammo with Reload Time ! - Daewoo - 02.01.2015

Paste SS, pls


Re: Missile Hunter Limit Ammo with Reload Time ! - KayJ - 02.01.2015

nice but you must paste some screen shots also


Re: Missile Hunter Limit Ammo with Reload Time ! - Team_PRO - 02.01.2015

Hmm mabye try to put a textdraw on it like instead of message do a textdraw "Reloading". And add tank, hydra.


Re: Missile Hunter Limit Ammo with Reload Time ! - colonel-top - 11.01.2015

Updated Thank You people for suggestion ^^


Re: Missile Hunter Limit Ammo with Reload Time ! - [FSaF]Jarno - 11.01.2015

I realise this is supposed to prevent players spamming hydra/hunter missiles, but you lose all control from the vehicle when you reload. TogglePlayerControllable 0 makes the game ignore any controls, and i can just imagine myself in a dogfight, having to reload, and slamming into a wall.

Just something to remember.


Re: Missile Hunter Limit Ammo with Reload Time ! - Crayder - 11.01.2015

I understand the concept, and the script is great (Repped+). But like Jarno said, in the time that you are reloading you will run in to things constantly.


Re: Missile Hunter Limit Ammo with Reload Time ! - LMaxCo - 16.01.2015

This Is Good FS, 1+ Rep


Re: Missile Hunter Limit Ammo with Reload Time ! - Zeyex - 29.04.2016

amazing fs bro