suggestions for 0.3c -
Blokkmonsta - 30.11.2010
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)
Re: suggestions for 0.3c -
Shadow™ - 30.11.2010
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")
Re: suggestions for 0.3c -
leong124 - 30.11.2010
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.
Re: suggestions for 0.3c -
Jochemd - 30.11.2010
GetVehicleNumberPlate
Re: suggestions for 0.3c -
Scenario - 30.11.2010
Quote:
Originally Posted by Jochemd
|
Or simply do an array through all vehicles, storing their license plate... (aka numberplate)
Re: suggestions for 0.3c -
Jochemd - 30.11.2010
Yea, thats what this function does
Re: suggestions for 0.3c -
0ne - 30.11.2010
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
Re: suggestions for 0.3c -
Mauzen - 30.11.2010
All those functions are scriptable (even the shootplayer and vehicle crash stuff), so you cant miss them :P
Re: suggestions for 0.3c -
Scenario - 30.11.2010
Quote:
Originally Posted by Mauzen
All those functions are scriptable (even the shootplayer and vehicle crash stuff), so you cant miss them :P
|
True, but most people aren't sure how to script them.
Re: suggestions for 0.3c -
Mauzen - 30.11.2010
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.