30.01.2011, 14:34
Hey guys. i'm working on a race script. But I'm stuck again.
pawn Код:
public dockstart(playerid)
{
for(new racersx;racersx < MAX_PLAYERS; racersx++)
{
if(playerid[racersx][racers] >= 1)
{
TogglePlayerControllable(racersx,1);
}
}
return 1;
}
Код:
C:\Users\Michael\Desktop\Samp scvripting\filterscripts\races.pwn(414) : error 028: invalid subscript (not an array or too many subscripts): "playerid" C:\Users\Michael\Desktop\Samp scvripting\filterscripts\races.pwn(414) : warning 215: expression has no effect C:\Users\Michael\Desktop\Samp scvripting\filterscripts\races.pwn(414) : error 001: expected token: ";", but found "]" C:\Users\Michael\Desktop\Samp scvripting\filterscripts\races.pwn(414) : error 029: invalid expression, assumed zero C:\Users\Michael\Desktop\Samp scvripting\filterscripts\races.pwn(414) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.