19.05.2014, 16:53
That is not possible really, since you have declared i now.
So this error shouldn't occur anymore:
Should work if you are using the right include.
So this error shouldn't occur anymore:
pawn Код:
C:\Documents and Settings\magnifique2012\Bureau\zm.pwn(365) : error 017: undefined symbol "i"
pawn Код:
function StartMap()
{
new str[128];
foreach(new i : Player)
{
SetCameraBehindPlayer(i);
ClearAnimations(i);
HumanSetup(i);
SpawnPlayer(i);
SetPlayerDrunkLevel(i,0);
DisablePlayerCheckpoint(i);
TextDrawHideForPlayer(i, ServerIntroOne[i]);
TextDrawHideForPlayer(i, ServerIntroTwo[i]);
DestroyPickup(meatDrops[i]);
DestroyPickup(ammoDrops[i]);
TogglePlayerControllable(i,1);
}
}