Need help with a Toll System
#1

Hi Guys,

I've just started to code my own server, instead of 'copying' idea's from different servers, Gonna add in a car-park toll system.

At the LSAP, How would I make it so when a car parks there for several hours, it charges playerid, for every hour there their?

I've mapped in fencing etc, and a gate, how do I charge for several hours? Would it be part of the Set Timer?
Reply
#2

Hmm,you have to use timers and IsPlayerInRangeOfPoint functions.
Reply
#3

You would actually have to use GetVehicleDistanceFromPoint functions.

https://sampwiki.blast.hk/wiki/GetVehicleDistanceFromPoint
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)