12.12.2009, 01:52
I believe the callback you are thinking of Don Correlli, is in YUP.
Anyways, if you don't want to use more callbacks, just use OnPlayerUpdate
Anyways, if you don't want to use more callbacks, just use OnPlayerUpdate
pawn Код:
//global
new
Float:g_fUpdateHealth;
//OnPlayerUpdate
public OnPlayerUpdate(playerid)
{
new
Float:fUpdateHealth;
if( fUpdateHealth != g_fUpdateHealth );
{
//health has changed
}
return true;
}