Team vehicles
#10

pawn Код:
stock TeamCar[4][22]; //TeamCar[0], TeamCar[1], TeamCar[2], TeamCar[3]
Is only another way to write

pawn Код:
new Team1Car[22], Team2Car[22], Team3Car[22], Team4Car[22];
If you put it in OnPlayerStateChange you need to check if his state changed to driver

pawn Код:
//OnPlayerStateChange
if(newstate == PLAYER_STATE_DRIVER)
{
    for(new var; var < sizeof Team4Car; var++) //or with my 2d array sizeof TeamCar[]
    {
    }
}
Reply


Messages In This Thread
Team vehicles - by cruising - 02.04.2011, 13:55
Re: Team vehicles - by CyNiC - 02.04.2011, 14:00
Re: Team vehicles - by tanush - 02.04.2011, 14:15
Re: Team vehicles - by cruising - 02.04.2011, 14:26
Re: Team vehicles - by cruising - 02.04.2011, 14:33
Re: Team vehicles - by LiamM - 02.04.2011, 14:39
Re: Team vehicles - by cruising - 02.04.2011, 15:20
AW: Team vehicles - by Nero_3D - 02.04.2011, 15:37
Re: AW: Team vehicles - by cruising - 02.04.2011, 16:01
AW: Re: AW: Team vehicles - by Nero_3D - 02.04.2011, 16:11
Re: Team vehicles - by cruising - 02.04.2011, 16:33
Re: Team vehicles - by tanush - 03.04.2011, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)