[0.3c] License Plate OnGameModeInit
#9

ReStreamed, OnGameModeInit is called when the gamemode loads, there will be no players connected at the time so it will work, look here is what i do

pawn Код:
//Create Vehicles Here
    for(new i; i < MAX_VEHICLES; i++)
    {
        if(IsVehicleConnected(i))
        {
            new randnumplate = random(sizeof(RandomPlates));
            SetVehicleNumberPlate(i, RandomPlates[randnumplate]);
        }
    }
since that works the wiki must be wrong
Reply


Messages In This Thread
[0.3c] License Plate OnGameModeInit - by Camacorn - 16.02.2011, 22:10
Re: [0.3c] License Plate OnGameModeInit - by randomkid88 - 16.02.2011, 23:50
Re: [0.3c] License Plate OnGameModeInit - by [WF]Demon - 16.02.2011, 23:54
Re: [0.3c] License Plate OnGameModeInit - by Krx17 - 17.02.2011, 00:06
Re: [0.3c] License Plate OnGameModeInit - by Camacorn - 17.02.2011, 01:13
Re: [0.3c] License Plate OnGameModeInit - by Camacorn - 17.02.2011, 01:17
Re: [0.3c] License Plate OnGameModeInit - by [WF]Demon - 17.02.2011, 02:25
Re: [0.3c] License Plate OnGameModeInit - by randomkid88 - 17.02.2011, 02:50
Re: [0.3c] License Plate OnGameModeInit - by [WF]Demon - 17.02.2011, 03:14
Re: [0.3c] License Plate OnGameModeInit - by Hal - 17.02.2011, 03:20

Forum Jump:


Users browsing this thread: 1 Guest(s)