SetVehicleNumberPlate
#10

Okay i found the solution. Give me a minute to post it! Your array was the problems.

EDIT:

Change your arrays first.
pawn Код:
new const NumeriuRaides[][] = { "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z" };
new const NumeriuSkaiciai[] = {0,1,2,3,4,5,6,7,8,9};
Then change this portion as it is!
pawn Код:
new msg[10],randletter = random(sizeof(NumeriuRaides)),randdigit = random(sizeof(NumeriuSkaiciai));
    format(msg,sizeof(msg),"%s%s%s:%d%d%d",NumeriuRaides[randletter],NumeriuRaides[randletter],NumeriuRaides[randletter],NumeriuSkaiciai[randdigit],NumeriuSkaiciai[randdigit],NumeriuSkaiciai[randdigit]);
    format(tInfo[nuomTransp][Numeriai],8,"%s",msg);
    SetVehicleNumberPlate(nuomTransp,tInfo[nuomTransp][Numeriai]);
    SetVehicleToRespawn(nuomTransp);
Reply


Messages In This Thread
SetVehicleNumberPlate - by elvinas02 - 25.11.2012, 08:59
Re: SetVehicleNumberPlate - by Ballu Miaa - 25.11.2012, 09:08
Re: SetVehicleNumberPlate - by elvinas02 - 25.11.2012, 09:13
Re: SetVehicleNumberPlate - by Ballu Miaa - 25.11.2012, 09:17
Re: SetVehicleNumberPlate - by elvinas02 - 25.11.2012, 09:28
Re: SetVehicleNumberPlate - by Ballu Miaa - 25.11.2012, 09:39
Re: SetVehicleNumberPlate - by elvinas02 - 25.11.2012, 09:55
Re: SetVehicleNumberPlate - by Ballu Miaa - 25.11.2012, 09:57
Re: SetVehicleNumberPlate - by elvinas02 - 25.11.2012, 09:59
Re: SetVehicleNumberPlate - by Ballu Miaa - 25.11.2012, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)