முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetPlayerObjectDrawDistance

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Get the draw distance of a player-object.

NameDescription
playeridThe ID of the player
objectidThe ID of the player-object to get the draw distance of

Returns​

Returns the draw distance as float.

Examples​

new playerobjectid = CreatePlayerObject(playerid, 3335, 672.53485, -656.11023, 15.26560, 3.00000, 0.00000, 0.00000, 100.0);

new Float:drawDistance = GetPlayerObjectDrawDistance(playerid, playerobjectid);
// drawDistance = 100.0