getResistance

getResistance([number entity]) → integer resistance
Returns given entity's resistance. Use getResistance() with no parameter to get your own resistance.

Returns the resistance of the entity with id entity. Use getResistance() with no parameter to get your own resistance.

Parameters
Return