SA-MP Forums Archive
[FilterScript] Anti-INV by Yiin - 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] Anti-INV by Yiin (/showthread.php?tid=377583)



[DELETED] Anti-INV v1.1 - Yiin - 14.09.2012

-DELETED-
Moved to : https://sampforum.blast.hk/showthread.php?tid=380955


Re: Anti-INV by Yiin - NoahF - 14.09.2012

Nice dude. Looks legit!


Re: Anti-INV by Yiin - Yiin - 14.09.2012

Quote:
Originally Posted by NoahF
Посмотреть сообщение
Nice dude. Looks legit!
Thanks!


Re: Anti-INV by Yiin - MoDee - 15.09.2012

Good work dude


Re: Anti-INV by Yiin - Yiin - 15.09.2012

Bugs fixed.


Re: Anti-INV by Yiin - SuperViper - 15.09.2012

Did you even test or compile this? It won't work.


Re: Anti-INV by Yiin - $mooth - 15.09.2012

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
Did you even test or compile this? It won't work.
Yeah, but it's easy to get it to work.
Anyways, good that it only kicks. Not banns, then i'd feel bad for de-synct players.


Re: Anti-INV by Yiin - Yiin - 15.09.2012

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
Did you even test or compile this? It won't work.
It compile without errors. I will try to make video


Re: Anti-INV by Yiin - ReVo_ - 15.09.2012

Quote:
Originally Posted by Yiin
Посмотреть сообщение
It compile without errors. I will try to make video
WhilePlayerUseINV(playerid)
{
If(inv_warnings[playerid] == 20 or 30 or 40) SetPlayerHealth(playerid, GetPlayerHealth * 0.5);
If(inv_warnings[playerid] == 50) Kick(playerid);
}

this cant compile w/o errors man :/

or = ||

GetPlayerHealth not work as you do

new Float:h;
GetPlayerHealth(playerid, h);

SetPlayerHealth(playerid, h * 0.5);


Re: Anti-INV by Yiin - Yiin - 15.09.2012

Quote:
Originally Posted by ReVo_
Посмотреть сообщение
WhilePlayerUseINV(playerid)
{
If(inv_warnings[playerid] == 20 or 30 or 40) SetPlayerHealth(playerid, GetPlayerHealth * 0.5);
If(inv_warnings[playerid] == 50) Kick(playerid);
}

this cant compile w/o errors man :/

or = ||

GetPlayerHealth not work as you do

new Float:h;
GetPlayerHealth(playerid, h);

SetPlayerHealth(playerid, h * 0.5);
oh, cmon.... this is not even code....
Код:
Because my english is so bad, let me explain in PAWN language.