28.08.2012, 15:19
many errors occur when i compile please help and thanks :
(16879 -- 16914): while(iIndex < sizeof(HouseInfo) && fread(iFileHandle, szFileStr)) {
sscanf(szFileStr, "p<|>iiis[128]s[24]ffffffffiiiiiiiiiiiiiiiiiff",
HouseInfo[iIndex][hOwned],
HouseInfo[iIndex][hLevel],
HouseInfo[iIndex][hHInteriorWorld],
HouseInfo[iIndex][hDescription],
HouseInfo[iIndex][hOwner],
HouseInfo[iIndex][hExteriorX],
HouseInfo[iIndex][hExteriorY],
HouseInfo[iIndex][hExteriorZ],
HouseInfo[iIndex][hExteriorR],
HouseInfo[iIndex][hInteriorX],
HouseInfo[iIndex][hInteriorY],
HouseInfo[iIndex][hInteriorZ],
HouseInfo[iIndex][hInteriorR],
HouseInfo[iIndex][hLock],
HouseInfo[iIndex][hRentable],
HouseInfo[iIndex][hRentFee],
HouseInfo[iIndex][hValue],
HouseInfo[iIndex][hSafeMoney],
HouseInfo[iIndex][hPot],
HouseInfo[iIndex][hCrack],
HouseInfo[iIndex][hMaterials],
HouseInfo[iIndex][hWeapons][0],
HouseInfo[iIndex][hWeapons][1],
HouseInfo[iIndex][hWeapons][2],
HouseInfo[iIndex][hWeapons][3],
HouseInfo[iIndex][hWeapons][4],
HouseInfo[iIndex][hGLUpgrade],
HouseInfo[iIndex][hPickupID],
HouseInfo[iIndex][hCustomInterior],
HouseInfo[iIndex][hCustomExterior],
HouseInfo[iIndex][hExteriorA],
HouseInfo[iIndex][hInteriorA]
if(HouseInfo[iIndex][hOwned])
{
(16930): HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0 );
Errors: C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16879 -- 16914) : error 001: expected token: ",", but found "if"
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : error 001: expected token: "-identifier-", but found "="
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : warning 215: expression has no effect
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
(16879 -- 16914): while(iIndex < sizeof(HouseInfo) && fread(iFileHandle, szFileStr)) {
sscanf(szFileStr, "p<|>iiis[128]s[24]ffffffffiiiiiiiiiiiiiiiiiff",
HouseInfo[iIndex][hOwned],
HouseInfo[iIndex][hLevel],
HouseInfo[iIndex][hHInteriorWorld],
HouseInfo[iIndex][hDescription],
HouseInfo[iIndex][hOwner],
HouseInfo[iIndex][hExteriorX],
HouseInfo[iIndex][hExteriorY],
HouseInfo[iIndex][hExteriorZ],
HouseInfo[iIndex][hExteriorR],
HouseInfo[iIndex][hInteriorX],
HouseInfo[iIndex][hInteriorY],
HouseInfo[iIndex][hInteriorZ],
HouseInfo[iIndex][hInteriorR],
HouseInfo[iIndex][hLock],
HouseInfo[iIndex][hRentable],
HouseInfo[iIndex][hRentFee],
HouseInfo[iIndex][hValue],
HouseInfo[iIndex][hSafeMoney],
HouseInfo[iIndex][hPot],
HouseInfo[iIndex][hCrack],
HouseInfo[iIndex][hMaterials],
HouseInfo[iIndex][hWeapons][0],
HouseInfo[iIndex][hWeapons][1],
HouseInfo[iIndex][hWeapons][2],
HouseInfo[iIndex][hWeapons][3],
HouseInfo[iIndex][hWeapons][4],
HouseInfo[iIndex][hGLUpgrade],
HouseInfo[iIndex][hPickupID],
HouseInfo[iIndex][hCustomInterior],
HouseInfo[iIndex][hCustomExterior],
HouseInfo[iIndex][hExteriorA],
HouseInfo[iIndex][hInteriorA]
if(HouseInfo[iIndex][hOwned])
{
(16930): HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0 );
Errors: C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16879 -- 16914) : error 001: expected token: ",", but found "if"
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : error 001: expected token: "-identifier-", but found "="
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : warning 215: expression has no effect
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Omar-PC\Desktop\Copy of Express Gaming Roleplay Server\gamemodes\E-RP_nomysql.pwn(16930) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.