SA-MP Forums Archive
is it possible - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: is it possible (/showthread.php?tid=121313)



is it possible - ihatetn931 - 16.01.2010

ok, i have a job with random checkpoints. Is it possible to make a car or anything spawn at those random checkpoints when they show up?

I'm curious cause i'm working on a truck driver job, I got my checkpoints set up, I just need a way to CreateVehicle Or somthing.


Re: is it possible - Tommie1331 - 16.01.2010

Quote:
Originally Posted by ihatetn931
ok, i have a job with random checkpoints. Is it possible to make a car or anything spawn at those random checkpoints when they show up?

I'm curious cause i'm working on a truck driver job, I got my checkpoints set up, I just need a way to CreateVehicle Or somthing.
ill help you to


Re: is it possible - ihatetn931 - 16.01.2010

Well, i'd say what you just posted wasn't no help.


Re: is it possible - Tommie1331 - 16.01.2010

try checking your pms


Re: is it possible - ihatetn931 - 16.01.2010

Quote:
Originally Posted by ihatetn931
ok, i have a job with random checkpoints. Is it possible to make a car or anything spawn at those random checkpoints when they show up?

I'm curious cause i'm working on a truck driver job, I got my checkpoints set up, I just need a way to CreateVehicle Or somthing.
Other then this spammer, Does anyone have any idea if this can be done?


Re: is it possible - MadeMan - 16.01.2010

Just CreateVehicle at the same place as your checkpoints?


Re: is it possible - Dark_Kostas - 16.01.2010

You will have something like this now.
pawn Код:
SetPlayerCheckpoint(playerid, random[0], random[1], random[2]);
Just use
pawn Код:
CreateVehicle(555, random[0], random[1], random[2], 0.0, 126, 126, 60);
This will create a car at the checkpoint with pink color xD


Re: is it possible - ihatetn931 - 16.01.2010

Quote:
Originally Posted by Dark_Kostas
You will have something like this now.
pawn Код:
SetPlayerCheckpoint(playerid, random[0], random[1], random[2]);
Just use
pawn Код:
CreateVehicle(555, random[0], random[1], random[2], 0.0, 126, 126, 60);
This will create a car at the checkpoint with pink color xD
Thank you for the help