Jump to content
  • 0

pomoc SPZ


Jurajvocny

Dotaz

2 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Globální moderátor

Nějakej cyklus na procházení všech existujících aut (GetVehiclePoolSize) a nastavovat SPZ pomocí SetVehicleNumberPlate

 

 

EDIT: Takže asi něco podobného?

 

new str[10];

for(new i = 1, j = GetVehiclePoolSize(); i <= j; i++)

{

       format(str,sizeof(str),"veh%d",i);

       SetVehicleNumberPlate(i,str);

}

Edited by HighPrint
Link to comment
Share on other sites

  • 0

Nějakej cyklus na procházení všech existujících aut (GetVehiclePoolSize) a nastavovat SPZ pomocí SetVehicleNumberPlate

 

 

EDIT: Takže asi něco podobného?

 

new str[10];

for(new i = 1, j = GetVehiclePoolSize(); i <= j; i++)

{

       format(str,sizeof(str),"veh%d",i);

       SetVehicleNumberPlate(i,str);

}

 

Ok. Ďakujem.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...