04.04.2012, 12:36
Hey, again.
Thanks for helping whoever helps me, really thanks, if I could give +rep I would give, but unfortunately I have got fews posts for giving +rep as far as I know...
Anyway, here is the errors:
Lines 234:
Thanks for helping whoever helps me, really thanks, if I could give +rep I would give, but unfortunately I have got fews posts for giving +rep as far as I know...
Anyway, here is the errors:
Код:
C:\Documents and Settings\Administrator\щемзп дтбегд\ъйчйеъ дозщб\чйгегйн есчшйфийн\-----WIP\-----.pwn(234) : error 017: undefined symbol "IsBeingSpeced" C:\Documents and Settings\Administrator\щемзп дтбегд\ъйчйеъ дозщб\чйгегйн есчшйфийн\-----WIP\-----.pwn(234) : warning 215: expression has no effect C:\Documents and Settings\Administrator\щемзп дтбегд\ъйчйеъ дозщб\чйгегйн есчшйфийн\-----WIP\-----.pwn(234) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Administrator\щемзп дтбегд\ъйчйеъ дозщб\чйгегйн есчшйфийн\-----WIP\-----.pwn(234) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\щемзп дтбегд\ъйчйеъ дозщб\чйгегйн есчшйфийн\-----WIP\-----.pwn(234) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public OnPlayerDisconnect(playerid, reason)
{
if(IsBeingSpeced[playerid] == 1)//If the player being spectated, disconnects, then turn off the spec mode for the spectator.
{
foreach(Player,i)
{
if(spectatorid[i] == playerid)
{
TogglePlayerSpectating(i,false);// This justifies what's above, if it's not off then you'll be either spectating your connect screen, or somewhere in blueberry (I don't know why)
}
}
}
return 1;
}

