function
getPlayerProtection (client-side)
Available since version: 0.1.10
This function will get the player protection.
Declaration
int getPlayerProtection(int id, int damageType)
Parameters
int
id: the player id.int
damageType: . For more information see Damage constants.
Returns int
the protection value for specific damageType.