SA-MP Forums Archive
Can i have help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can i have help (/showthread.php?tid=287539)



Can i have help - janx221 - 03.10.2011

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?


Re: Can i have help - janx221 - 03.10.2011

UP! .CMON SOME1!


Re: Can i have help - array13 - 03.10.2011

post all code you are trying to make please