Need some help on loop
#1

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;
}
So I want to make the loop that would be checking that but, I can't figure out how to do it
Reply


Messages In This Thread
Need some help on loop - by Zigonja - 04.06.2013, 13:48
Re: Need some help on loop - by NvidiaForTheWin - 04.06.2013, 13:52
Re: Need some help on loop - by Zigonja - 04.06.2013, 14:09
Re: Need some help on loop - by [DOG]irinel1996 - 04.06.2013, 14:31
Re: Need some help on loop - by NvidiaForTheWin - 04.06.2013, 17:11

Forum Jump:


Users browsing this thread: 3 Guest(s)