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

GetPlayerCheckpoint

எச்சரிக்கை

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

Description​

Get the location of the current checkpoint.

NameDescription
playeridThe ID of the player to get the checkpoint position of.
&Float:centreXA float variable in which to store the centreX coordinate in, passed by reference.
&Float:centreYA float variable in which to store the centreY coordinate in, passed by reference.
&Float:centreZA float variable in which to store the centreZ coordinate in, passed by reference.
&Float:radiusA float variable in which to store the radius in, passed by reference.

Returns​

This function does not return any specific values.

Examples​

SetPlayerCheckpoint(playerid, 408.9874, 2537.8059, 16.5455, 1.5);

new Float:centreX,
Float:centreY,
Float:centreZ,
Float:radius;

GetPlayerCheckpoint(playerid, centreX, centreY, centreZ, radius);