Bus Route Filterscript help
#1

Hello,
I am assisting my friend in creating a server, and we are trying to make a bus system because we like the more rp style of having most players rely on public transport (Buses, taxi's and trains). We want to make it so the bus driver can get into the bus and type /startroute. This will place a checkpoint on the road, when they go through it, it disables itself and creates a new one a bit further down the road, eventually creating a network of checkpoints that will take you around LS and back into Unity station. We have started on this, the only problem is that when the driver goes over the first checkpoint, it deletes itself but then doesn't create a new checkpoint.

Filterscript:
http://pastebin.com/FTTgc6ZK

NOTE: The script is based off a drivers license test filterscript we found on the internet

Thanks,
BlackSirrah239
Reply
#2

Here are some things i noticed:
15. #define COLOR_GREY 0xAFAFAFAA (This should be #define COLOR_GREY 0xAFAFAFAA)
Also there are some lines that arent in order.
This can be because of pastebin.
If it isnt, you will need to fix those.
Reply
#3

^^
@Jason you don't make any sense!

The default SA-MP function for checkpoint is just to create one checkpoint. You will have to create a checkpoint using a streamer. Here's a tutorial on a streamer.
https://sampforum.blast.hk/showthread.php?tid=399922
Reply
#4

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
^^
@Jason you don't make any sense!

The default SA-MP function for checkpoint is just to create one checkpoint. You will have to create a checkpoint using a streamer. Here's a tutorial on a streamer.
https://sampforum.blast.hk/showthread.php?tid=399922
The streamer really helped, but now some of the checkpoints wont despawn and the first doesnt create a marker on the map. Could you please look at the new script and help me out?

http://pastebin.com/9B6rMNee

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)