SetPlayerHealth
#2

pawn Code:
forward Health();//top of script

SetTimer("Health",3000,true);//In GamemodeInt

public Health()//Give this where you want but i am giving under OnPlayerClickPlayer
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
      if(IsPlayerConnected(i))
      {
      SetPlayerHealth(i,10+);
      }
    }
    return 1;
}
Reply


Messages In This Thread
SetPlayerHealth - by Cenation - 13.06.2011, 13:27
Re: SetPlayerHealth - by SpiderWalk - 13.06.2011, 13:34
Re: SetPlayerHealth - by Iphone1234g - 13.06.2011, 13:42
Re: SetPlayerHealth - by Cenation - 13.06.2011, 13:46
Re: SetPlayerHealth - by Cenation - 13.06.2011, 13:52
Re: SetPlayerHealth - by Skaizo - 13.06.2011, 15:24
Re: SetPlayerHealth - by Cenation - 14.06.2011, 01:54
Re: SetPlayerHealth - by Basicz - 14.06.2011, 04:08
Re: SetPlayerHealth - by Cenation - 14.06.2011, 04:12
Re: SetPlayerHealth - by Gertin - 14.06.2011, 07:57

Forum Jump:


Users browsing this thread: 1 Guest(s)