1 weird error and warning! :S [HELP]
#4

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_SECONDARY_ATTACK)
    {
        if (PlayerToPoint(0.5, playerid, 1778.5148,-1575.8615,17.4416))
        {
            #define newhealth 50
            new Float:oldhealth;
            GetPlayerHealth(playerid,oldhealth);
            SetPlayerHealth(playerid,oldhealth + newhealth);
        }
    }
    return 1;
}
0 error, 0 warning, done

David
Reply


Messages In This Thread
1 weird error and warning! :S [HELP] - by Moustafa - 28.06.2009, 08:26
Re: 1 weird error and warning! :S [HELP] - by arnutisz - 28.06.2009, 08:32
Re: 1 weird error and warning! :S [HELP] - by Moustafa - 28.06.2009, 08:33
Re: 1 weird error and warning! :S [HELP] - by illay - 28.06.2009, 08:37

Forum Jump:


Users browsing this thread: 2 Guest(s)