04.06.2013, 13:48
pawn Код:
// What should I be putting here
{
if (PlayerInfo[playerid][prodshp] == 1)
{
if(GetPlayerHealth(i))
{
new Float:health;
GetPlayerHealth(playerid,health);
if (health < 10.0)
{
(PlayerInfo[playerid][prodshp] == 0)
SendClientMessage(playerid, COLOR_GREEN, "Don't forget to wear safety equipment, to prevent hurting yourself!");
}
}
}
return 1;
}