04.08.2014, 05:55
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 :
can't just use SetPlayerHealth in the timer?
Please Give me an answer on both last replies
thanks I need it
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);
Please Give me an answer on both last replies
thanks I need it