Posts: 102
Threads: 11
Joined: Mar 2008
Reputation:
0
0.3c is epic but i miss a few functions:
• GetVehicleNumberPlate(vehicleid, string);
• SetDefaultVehicleNumberPlate("SAMP"); // so we can easy change the "XYZR 000"
• GetVehicleColor(vehicleid, color1, color2);
• GetVehiclePaintjob(vehicleid)
Posts: 186
Threads: 14
Joined: Jul 2010
Reputation:
0
I saw a filterscript back in 0.2 about the GetVehicleColor you should look that up- Although it does include it's own function, but yeah- An actual 0.3 version would be good.
As for the Default Vehicle Numberplate, you could run a loop through all the vehicles on spawn and set their plate easily though yet again, this would be handy.
GetVehicleNumberPlate would be handy for things such as Law Enforcement or displaying on a string ("[INFO]: Registration: XYZR 000")
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
You can use arrays to store the colors and numberplates to do GetVehicleColor and GetVehicleNumberPlate(but may be slow and wasting memory),
but I still look forward for the official version.
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Yea, thats what this function does
Posts: 539
Threads: 82
Joined: Sep 2009
Reputation:
0
I suggest adding onplayershootplayer callback cause we're waiting for YEARS and that would be very good detection of godmode hacking! Detecting two vehicle collisions, if vehicle feature one is possible then please pm me about it
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
All those functions are scriptable (even the shootplayer and vehicle crash stuff), so you cant miss them :P
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
Yep, but i use to say, why should the sa-mp team use their coding time, to implement things, that are already possible? They should focus on things, that cant be done with scripts only.
But this is only my oppinion, dont know what the sa-mp team thinks about it.