02.08.2011, 11:16
@samtey:
Try this once, you'll not use OnPlayerUpdate again:
Now try to explode/burn/hit/fall/drown/goto space/break the earth/ your health will stay full. (unless you get exploded in a car).
Script performance:
OnPlayerUpdate : Godmode: Bad/Heavy.
iFloat: Godmode: Perfect.
Try this once, you'll not use OnPlayerUpdate again:
pawn Код:
#define iFloat 0x107FFF
public OnPlayerSpawn( playerid )
{
SetPlayerHealth( playerid, iFloat );
return true;
}
Script performance:
OnPlayerUpdate : Godmode: Bad/Heavy.
iFloat: Godmode: Perfect.