Code 1 error
#7

If you want to set the players health of I to one hundred then you can do this.
PHP код:
if(IsPlayerConnected(i))
{
       
SetPlayerHealth(i100.0);
       return 
1;

if you wanna knoaw if the players health is 100.0
then do this
PHP код:
if(IsPlayerConnected(i) && GetPlayerHealth(i))
{
   
//initiate killing sequence because we set the player health to 99 for anti health hack.

Reply


Messages In This Thread
Code 1 error - by DerickClark - 06.02.2017, 01:49
Re: Code 1 error - by AndreiWow - 06.02.2017, 02:42
Re: Code 1 error - by DerickClark - 06.02.2017, 02:51
Re: Code 1 error - by AndreiWow - 06.02.2017, 02:52
Re: Code 1 error - by DerickClark - 06.02.2017, 03:04
Re: Code 1 error - by AndreiWow - 06.02.2017, 04:35
Re: Code 1 error - by JesterlJoker - 06.02.2017, 05:19
Re: Code 1 error - by Vince - 06.02.2017, 09:09

Forum Jump:


Users browsing this thread: 1 Guest(s)