suggestions for 0.3c
#1

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)
Reply
#2

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")
Reply
#3

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.
Reply
#4

GetVehicleNumberPlate
Reply
#5

Quote:
Originally Posted by Jochemd
View Post
Or simply do an array through all vehicles, storing their license plate... (aka numberplate)
Reply
#6

Yea, thats what this function does
Reply
#7

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
Reply
#8

All those functions are scriptable (even the shootplayer and vehicle crash stuff), so you cant miss them :P
Reply
#9

Quote:
Originally Posted by Mauzen
View Post
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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)