Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: a1046596108 on August 21, 2013, 04:03:31 am

Title: How to prevent the lock blood
Post by: a1046596108 on August 21, 2013, 04:03:31 am
Oh my god :o my server have to many hacker!
Title: Re: How to prevent the lock blood
Post by: NeskWriter on August 21, 2013, 11:34:30 am
So y dont u ban them all then?
Title: Re: How to prevent the lock blood
Post by: [AoD]NC on August 21, 2013, 10:12:11 pm
Many hacks give the player 100% armour. If you don't use the armour pickup on your server, you can add in your script:
if ( player armour > 0 ) -> ban.
Title: Re: How to prevent the lock blood
Post by: aledark24 on August 22, 2013, 01:42:13 am
Many hacks give the player 100% armour. If you don't use the armour pickup on your server, you can add in your script:
if ( player armour > 0 ) -> ban.

maybe is => 1  :o :o :o :o
and for health =>101
Title: Re: How to prevent the lock blood
Post by: a1046596108 on August 22, 2013, 05:48:30 am
So y dont u ban them all then?

 Too much, can't kill all
Title: Re: How to prevent the lock blood
Post by: [AoD]NC on August 23, 2013, 02:09:51 am
@aledark24 why => 1? If we consider armour as a positive integer* then > 0 and >= 1 is the same, but > 0 is more clear I think.

And health >= 101 is rather useless, because most hacks don't give the player hp over 100, only a few do. They just heal the player to 100% when he gets hurts.

* armour is in fact a float value, so you can have 99,99% armour. However, the game rounds it to either 99% or 100% ;).