30.07.2009, 23:16
If you would make an incudefile with a function like this in it, it would be a lot easier:
Then you could use
and finished!
Just a suggestion
pawn Код:
stock GivePlayerHealth(playerid, ammount)
{
new Float:phealth;
GetPlayerHealth(playerid, phealth);
SetPlayerHealth(playerid, phealth + ammount);
return 1;
}
pawn Код:
GivePlayerHealth(playerid, 15);
Just a suggestion