01.12.2014, 13:12
pawn Код:
/* Some Callback */
new veh = GetPlayerVehicleID(playerid);
new Float:X, Float:Y;
new Float:PX, Float:PY, Float:PZ;
GetPlayerPos(playerid, PX, PY, PZ); // To get Z Coordinate only.
GetXYBehindOfVehicle(vehicleid, X, Y, /* the distance */);
SetPlayerCheckPoint(playerid, X, Y, PZ, 5.0);
return 1;