Sinple error with Number Plate
#2

pawn Код:
for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
    {
    new string[30];
    for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
    format(string, sizeof(string),"KOS", Vehicles);
    SetVehicleNumberPlate(Vehicles,string);
    }
    }}
Quote:

Note: This function has no error checking. Do not assign custom number plates to vehicles without plates (boats etc) as this will result in some unneeded processing time on the client

Note: The vehicle must be respawned or restreamed for the changes to take effect.

Note: There's a limit of 32 characters on each NumberPlate.

Note: This function only works in versions 0.2.1, 0.2.2, 0.2x and 0.3c (and beyond)

Reply


Messages In This Thread
Sinple error with Number Plate - by [sFx]BlueSmoke - 10.03.2012, 05:03
Re: Sinple error with Number Plate - by SnG.Scot_MisCuDI - 10.03.2012, 05:06
Re: Sinple error with Number Plate - by [sFx]BlueSmoke - 10.03.2012, 05:12
Re: Sinple error with Number Plate - by SnG.Scot_MisCuDI - 10.03.2012, 05:16
Re: Sinple error with Number Plate - by eesh - 10.03.2012, 05:31
Re: Sinple error with Number Plate - by [sFx]BlueSmoke - 10.03.2012, 06:29
Re: Sinple error with Number Plate - by Faisal_khan - 10.03.2012, 06:32
Re: Sinple error with Number Plate - by [sFx]BlueSmoke - 10.03.2012, 06:38
Re: Sinple error with Number Plate - by [sFx]BlueSmoke - 10.03.2012, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)