05.01.2016, 08:53
Do something like this.
new lowhealth [MAX_PLAYERS]
public OnPlayerSpawn
lowhealth[playerid]=0;
public OnPlayerTakeDamage
Check if health is below 20
If so
Check if lowhealth[playerid]==0
If so
Send a text message and lowhealth[playerid]=1;
new lowhealth [MAX_PLAYERS]
public OnPlayerSpawn
lowhealth[playerid]=0;
public OnPlayerTakeDamage
Check if health is below 20
If so
Check if lowhealth[playerid]==0
If so
Send a text message and lowhealth[playerid]=1;