Anti Inv
#1

Hello guys, I'm trying to make Anti-Inv and I'm using OnPlayerShootPlayer include by Wubs.

Here is my code:
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
	if(!HealthLost || !ArmourLost)
	{
		Kick(Target);
	}
    return 1;
}
Thanks for help Cheers!
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage

Try use this callbacks.. and what is anti-inv?
Reply
#3

Quote:
Originally Posted by iJumbo
Посмотреть сообщение
I meant anti-invulnerable ^^
Reply
#4

BUMP, almost third page
Reply
#5

Whats the problem? use the function that i send
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)