08.01.2014, 11:17
https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/SetTimerEx
First of all, learn how to use timers with or without parameters. SetTimer does not have parameters, even though you used playerid for no reason. You also try to return the health directly but that way, it only returns 1 on success and 0 on failure (invalid vehicle ID). SA-MP Wiki also says: The vehicle's health is stored in the referenced variable, not in the return value - in your case health.
https://sampwiki.blast.hk/wiki/SetTimerEx
First of all, learn how to use timers with or without parameters. SetTimer does not have parameters, even though you used playerid for no reason. You also try to return the health directly but that way, it only returns 1 on success and 0 on failure (invalid vehicle ID). SA-MP Wiki also says: The vehicle's health is stored in the referenced variable, not in the return value - in your case health.

