Anti Lag shooting - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti Lag shooting (
/showthread.php?tid=387727)
Anti Lag shooting -
tarez - 26.10.2012
I'm developing my VIP system and I was wondering if it's possible to make certain people (with their name specified in the script) able to anti lag shoot while others still have to? From what I've read, this anti lag shoot script is able to be made using
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage and
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
If it's possible, of course, could anybody help me make this :/?
Re: Anti Lag shooting -
verlaj - 26.10.2012
I am not sure but you can set Vip team, class etc and enable anti lag for them, like
Quote:
new AntiLag[MAX_PLAYERS]
//then in CMD:anti on
if(IdPlayerVip(playerid);
//your script
AntiLag(playerid) = 1;
|
then on player Take damge etc
add this
You need to define everything
i think it will work
Re: Anti Lag shooting -
[TC]XxJuggaloxX - 26.10.2012
https://sampforum.blast.hk/showthread.php?tid=327020
Re: Anti Lag shooting -
tarez - 26.10.2012
Quote:
Originally Posted by [TC]XxJuggaloxX
|
Yes, but this would be global..
Re: Anti Lag shooting -
[TC]XxJuggaloxX - 27.10.2012
It's an include, You can make it just for one group not global.
Re: Anti Lag shooting -
tarez - 27.10.2012
And how do I do that?
Re: Anti Lag shooting -
Mauzen - 27.10.2012
By looking into it and adding some if checks for the vip team.
Re: Anti Lag shooting -
tarez - 27.10.2012
Ya it's fine, I read more about it and I've found a way. Thanks anyways.