SA-MP Forums Archive
Pawn error - 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: Pawn error (/showthread.php?tid=472855)



Pawn error - Lunixx - 31.10.2013

pawn Код:
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14961) : error 029: invalid expression, assumed zero
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14961) : warning 215: expression has no effect
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14961) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14961) : error 029: invalid expression, assumed zero
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14961) : fatal error 107: too many error messages on one line
Line 14961:
pawn Код:
if(FamInfo[f][fSkins][s] == skin && PlayerInfo[playerid][pFam] != f) return SendClientMessage(playerid, COLOR_GREY, "This skin is restricted to a family.");



Re: Pawn error - ToiletDuck - 31.10.2013

Nothings wrong? can you show Line 14961 below?


Re: Pawn error - Lunixx - 31.10.2013

Now i get another line error, line is 14952, but ill give you whats below too
Line 14952-14961
pawn Код:
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14952) : error 029: invalid expression, assumed zero
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14952) : warning 215: expression has no effect
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14952) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14952) : error 029: invalid expression, assumed zero
C:\Documents and Settings\LinesX\Desktop\SRP\Syndicate\gamemodes\LSC-RP.pwn(14952) : fatal error 107: too many error messages on one line
pawn Код:
if(FamInfo[f][fSkins][s] == skin && PlayerInfo[playerid][pFam] != f) return SendClientMessage(playerid, COLOR_GREY, "This skin is restricted to a family.");
            }
        }
    }
    ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
    BizInfo[idx][bMoney] += 100;
    BizInfo[idx][bProducts] --;
    GiveDodMoney(playerid, -100);
    return 1;
}