Public and stock
#4

and one other question If I want to set a timer for a kill after 10 seconds for example
Do I need to create a public function like :
pawn Code:
forward SetPlayerHealthTo0(playerid, Float:health);
public SetPlayerHealthTo0(playerid, Float:health)
{
  SetPlayerHealth(playerid, 0);
}
//
SetTimer("SetPlayerHealthTo0", 10000, false);
can't just use SetPlayerHealth in the timer?
Please Give me an answer on both last replies
thanks I need it
Reply


Messages In This Thread
Public and stock - by Sarra - 04.08.2014, 05:33
Re: Public and stock - by ViniBorn - 04.08.2014, 05:41
Re: Public and stock - by Sarra - 04.08.2014, 05:50
Re: Public and stock - by Sarra - 04.08.2014, 05:55
Re: Public and stock - by ViniBorn - 04.08.2014, 05:56
Re: Public and stock - by Sarra - 04.08.2014, 06:01

Forum Jump:


Users browsing this thread: 1 Guest(s)