Problem
#3

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsACopCar(newcar))
    {
         new newcar = GetPlayerVehicleID(i);
         AddVehicleComponent(newcar, 19311);
         return 1;
    }
}
Try.
Only work for one player.


pawn Код:
for(new i; i < MAX_PLAYERS; i++)
    if(IsACopCar(GetPlayerVehicleID(i)))
        AddVehicleComponent(GetPlayerVehicleID(i), 19311);
Reply


Messages In This Thread
Problem - by Dan_Barocu - 14.05.2012, 13:57
Re: Problem - by .FuneraL. - 14.05.2012, 13:59
Re: Problem - by ViniBorn - 14.05.2012, 14:00
Re: Problem - by Faisal_khan - 14.05.2012, 14:01
Re: Problem - by Dan_Barocu - 14.05.2012, 14:02
Re: Problem - by .FuneraL. - 14.05.2012, 14:02
Re: Problem - by ViniBorn - 14.05.2012, 14:05
Re: Problem - by Dan_Barocu - 14.05.2012, 14:07
Re: Problem - by ViniBorn - 14.05.2012, 14:11
Re: Problem - by Dan_Barocu - 14.05.2012, 15:20

Forum Jump:


Users browsing this thread: 2 Guest(s)