Number Plate
#1

So my Vehicle Number plates are not working

I have this under OnVehicleSpawn and the same under LoadPlayerVehicles
PHP код:
                if(!isnull(PlayerVehicleInfo[i][v][pvPlate])) {
                    
SetVehicleNumberPlate(PlayerVehicleInfo[i][v][pvId], PlayerVehicleInfo[i][v][pvPlate]);
                }
                else
                {
                    new 
string[128], randletter[2];
                    
randletter[0] = lAlphabet[random(sizeof(lAlphabet))][0];
                    
randletter[1] = lAlphabet[random(sizeof(lAlphabet))][0];
                    
format(stringsizeof(string), "%s%s%d"randletter[0], randletter[1], vehicleid);
                    
SetVehicleNumberPlate(vehicleidstring);
                } 
It sets Custom Plate if vehicle have and if vehicle number plate is 0 it's suposed to set random vehicle plate
Reply


Messages In This Thread
Number Plate - by FaZeRs - 22.02.2014, 14:37
Re: Number Plate - by Smileys - 22.02.2014, 14:39
Re: Number Plate - by FaZeRs - 22.02.2014, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)