spawn car after get in to the checkpoint?
#1

Hello

( like i have i job ( trucker ) when i drive to the cheackpoint the "trailer" should respawn to the old place, without the car i drive the ( RoadtrainЁ) ( ID 515 ) ......

so please help me

and thanks )
Reply
#2

pawn Code:
new vehicleid = GetPlayerVehicleID(playerid);
if(!IsTrailerAttachedToVehicle(vehicleid)) return SendClientMessage(playerid, -1, "You don't have any trailer.");
SetVehicleToRespawn(GetVehicleTrailer(vehicleid));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)