03.10.2011, 17:54
pawn Код:
C:\Documents and Settings\SanderOnAdmin\Desktop\See!\gamemodes\lsrp.pwn(45244) : warning 225: unreachable code
C:\Documents and Settings\SanderOnAdmin\Desktop\See!\gamemodes\lsrp.pwn(45244) : error 029: invalid expression, assumed zero
C:\Documents and Settings\SanderOnAdmin\Desktop\See!\gamemodes\lsrp.pwn(45244 -- 45246) : warning 215: expression has no effect
C:\Documents and Settings\SanderOnAdmin\Desktop\See!\gamemodes\lsrp.pwn(45246) : error 017: undefined symbol "spot"
C:\Documents and Settings\SanderOnAdmin\Desktop\See!\gamemodes\lsrp.pwn(45246) : error 017: undefined symbol "playerid"
C:\Documents and Settings\SanderOnAdmin\Desktop\See!\gamemodes\lsrp.pwn(45246) : fatal error 107: too many error messages on one line
The line are
pawn Код:
return 1;
)
if(spot[playerid] == SPOT_CLUB) // club enter !!
{
if(playerinclub <= 40)
{
SetPlayerPos(playerid,493.2806,-21.1408,1000.6797);
SetPlayerInterior(playerid,17);
SetPlayerFacingAngle(playerid,1.9034);
playerinclub = playerinclub + 1;
}
else { SendClientMessage(playerid,COLOR_WHITE,"* The club is full right now, try again later"); }
)
return 1;
)
if(GetPlayerInterior(playerid) == 17 && IsPlayerInSphere(playerid,493.2806,-21.1408,1000.6797,4)) // club exit
{
SetPlayerPos(playerid,814.4175,-563.9013,16.3359);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid,270.7226);
playerinclub = playerinclub - 1;
can some1 fix it?