Pawn can't handle 2 loops?
#3

Код:
OnGameModeInit()
{
for(new i=0; i <= vehicles; i++)
{
AddStaticVehicle(model, X, Y*5, Z, A, 1, 0);
}

for(new i=0; i <= vehicles2; i++)
{
AddStaticVehicle(model, X, Y*5, Z, A, 1, 0);
}
return 1;
}
If vehicles and vehicles2 is set to a proper value both loops will be executed and in afterwards OnGameModeInit will return 1.
Reply


Messages In This Thread
Pawn can't handle 2 loops? - by goudewup - 31.01.2010, 09:54
Re: Pawn can't handle 2 loops? - by [HiC]TheKiller - 31.01.2010, 09:59
Re: Pawn can't handle 2 loops? - by ray187 - 31.01.2010, 10:16
Re: Pawn can't handle 2 loops? - by goudewup - 31.01.2010, 11:59
Re: Pawn can't handle 2 loops? - by ray187 - 31.01.2010, 12:07
Re: Pawn can't handle 2 loops? - by goudewup - 31.01.2010, 12:18
Re: Pawn can't handle 2 loops? - by Streetplaya - 31.01.2010, 12:20
Re: Pawn can't handle 2 loops? - by goudewup - 31.01.2010, 13:44
Re: Pawn can't handle 2 loops? - by ray187 - 31.01.2010, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)