How do i make Checkpoint on vehicles
#1

how do a i make a Marker/Checkpoint for a vehicle, Mainly want that little arrow thing on top of the vehicl.


i just need that line of code that makes the marker...THanks!
Reply
#2

juste set a timer
and get vehicles pos
like this
pawn Код:
SetTimerEx("CheckVeh", 100, true, "i", playerid);

}

forward CheckVeh(playerid);
public CheckVeh(playerid)
{
  new Float:X, Float:Y, Float:Z;
  GetVehiclePos(vehicle id, X, Y, Z);
  SetPlayerCheckpoint(playerid, X, Y, Z, 5);
  return 1;
}
Reply
#3

thanks james
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)