08.07.2011, 08:17
Ye i had this problem but i disabled the anticheat at sprunk machines coordiates and used
pawn Код:
public OnPlayerUpdate(playerid)
{
if( IsPlayerNearSprunkMachine(playerid ) )
{
new Float:fHealth;
GetPlayerHealth(playerid, fHealth);
if ( fHealth >= 100 )
{
SetPlayerHealth(playerid, 99.0 );
return 1;
}
}