24.06.2010, 08:22
Well, I seen a few servers with /tune and it sends them to the correct transfender, like, elegy goes to wheel arch, banshee would go to normal transfender.. ect, how would i do that?
Originally Posted by Flashy
You need to create firstly a command with dcmd, zcmd, or other methods.
Then you must get the position frmo the player with GetPlayerPos. Next to that you must set the position where you want to spawn with SetPlayerPos. All the functions you can find at SAMP Wiki. Try it and when you have problems post here. |
Originally Posted by LTomi
You can get the model ID (NOT the vehicle ID!) of player's vehicle by GetPlayerVehicleModel and send him or her to the appropriate tuning shop by checking if the vehicle is tunable in which shop. You can also send them a warning message if their vehicle is not tunable.
|