The players have god mode :O How ? [without cheats]
#1

In the fight system that i built i did this -

PHP код:
SetPlayerHealth(playerid100);
SetPlayerArmour(playerid100); 
that's work....... buy when player shoot on other player, it's down to 0 and back to 100 like god mode :O

this is the only SetPlayerHealth in the script... so why that's happend ?
Reply
#2

Are you running any extra filterscripts or have you checked your gamemode?
Reply
#3

Where do you call this code?
Reply
#4

Are you sure you are not running any timer which sets health?
Reply
#5

Maybe you have teams and the teammates are shooting at each other? Teammates can't die from another teammate.
Reply
#6

im guessing you placed this code under a timer function or such by accident, therefore everytime that timer occurs,health goes back to 100, make sure that your code is placed under OnPlayerSpawn.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)