Anti Lag shooting
#1

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 :/?
Reply
#2

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

Quote:

Antilag(playerid) = 1;

You need to define everything

i think it will work
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=327020
Reply
#4

Quote:
Originally Posted by [TC]XxJuggaloxX
Посмотреть сообщение
Yes, but this would be global..
Reply
#5

It's an include, You can make it just for one group not global.
Reply
#6

And how do I do that?
Reply
#7

By looking into it and adding some if checks for the vip team.
Reply
#8

Ya it's fine, I read more about it and I've found a way. Thanks anyways.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)