Fixed amb713, IsPlayerAlive native comment.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401250
This commit is contained in:
@@ -633,6 +633,8 @@ static cell_t IsPlayerAlive(IPluginContext *pContext, const cell_t *params)
|
||||
{
|
||||
return info->IsDead() ? 0 : 1;
|
||||
}
|
||||
|
||||
return pContext->ThrowNativeError("\"IsPlayerAlive\" not supported by this mod");
|
||||
}
|
||||
return (*((uint8_t *)pEntity + lifeState_off) == LIFE_ALIVE) ? 1: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user