Jump to content
  • 0

Cum setez la toate masinile un numar de inmatriculare



Deci am cautat functia, am gasito: http://wiki.sa-mp.com/wiki/SetVehicleNumberPlate [SetVehicleNumberPlate(vehicleid, numberplate[])]

Acuma pe wiki era un exemplu

[pawn]SetVehicleNumberPlate(CreateVehicle(542,2074.73071289,1089.89611816,10.51527309,0.00000000,-1,-1, -1), "Jay's Ride");[/pawn]

Dar eu vreau sa stiu cum pot sa setez la toate, nu doar la 1 :|

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


for(new v=0; v<MAX_VEHICLES; v++)


    SetVehicleNumberPlate(v, "Numar-Veh");



Il pui in callback-ul OnGameModeInit.

Ar fi bine sa definesti MAX_VEHICLES la ~400-500 de masini ca sa nu consumi prea multe resurse cu loop-ul asta.



#define MAX_VEHICLES 500


Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.