15.06.2012, 17:16
Hei ,
I made few days ago a simple /fare command for taxi drivers , like when i type it will appear to all players screen a message : Taxi driver x is on duty , call him on y . First question , i can create something like /gps <id of player> and will set a red checkpoint on map with players location ( after he calls me i will track his possition ) if not i will try to do like this - put a textdraw with player's location on screen and taxi driver will use /gps and will choose from a dialog location to track on gps (it's a good idea too , i think) . 2nd question : i want to make a - + money system for this fare , i want to check if i have passenger in taxi then every 1 min ( with a timer for sure ) i want to take his money with Giveplayermoney , and to add same amount to me the driver ( a constant value , eg : 5 $ ) , but the question is i can check if i have passenger in taxi somehow ?
I made few days ago a simple /fare command for taxi drivers , like when i type it will appear to all players screen a message : Taxi driver x is on duty , call him on y . First question , i can create something like /gps <id of player> and will set a red checkpoint on map with players location ( after he calls me i will track his possition ) if not i will try to do like this - put a textdraw with player's location on screen and taxi driver will use /gps and will choose from a dialog location to track on gps (it's a good idea too , i think) . 2nd question : i want to make a - + money system for this fare , i want to check if i have passenger in taxi then every 1 min ( with a timer for sure ) i want to take his money with Giveplayermoney , and to add same amount to me the driver ( a constant value , eg : 5 $ ) , but the question is i can check if i have passenger in taxi somehow ?