SA-MP Forums Archive
Gates bug - 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: Gates bug (/showthread.php?tid=437202)



Gates bug - ewida - 14.05.2013

im have RP server when I make a gate And all good and edit it when open idk how the gate open Also the faction gates too im Update streamer to v2.5.2.r2 And stay bug The Streamer 2.6.1 When I compile im get Errors!! Please help me!


Re: Gates bug - ewida - 14.05.2013

pawn Код:
C:\Users\Administrator\Desktop\Server [APPROVED] 1\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\Administrator\Desktop\Server [APPROVED] 1\pawno\include\streamer.inc(313) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\Administrator\Desktop\Server [APPROVED] 1\pawno\include\streamer.inc(336) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\Administrator\Desktop\Server [APPROVED] 1\pawno\include\streamer.inc(338) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\Administrator\Desktop\Server [APPROVED] 1\gamemodes\LG-RP.pwn(11037) : warning 209: function "Streamer_OnPlayerLeaveRaceCP" should return a value
C:\Users\Administrator\Desktop\Server [APPROVED] 1\gamemodes\LG-RP.pwn(17393) : error 017: undefined symbol "distance"
C:\Users\Administrator\Desktop\Server [APPROVED] 1\gamemodes\LG-RP.pwn(17393) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\Server [APPROVED] 1\gamemodes\LG-RP.pwn(17393) : error 001: expected token: ";", but found ")"
C:\Users\Administrator\Desktop\Server [APPROVED] 1\gamemodes\LG-RP.pwn(17393) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\Server [APPROVED] 1\gamemodes\LG-RP.pwn(17393) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.



Re: Gates bug - ewida - 14.05.2013

I Got this Errors When update the Streamer to 2.6.1


AW: Gates bug - Blackazur - 14.05.2013

You have on top

#include <streamer>
?

https://sampforum.blast.hk/showthread.php?tid=102865


Re: Gates bug - ewida - 14.05.2013

Sure


AW: Gates bug - Blackazur - 14.05.2013

You updated your streamer.dll or streamer.so with the newest streamer plugin too and you putted the new streamer.inc in your pawno > includes?


Re: Gates bug - ewida - 14.05.2013

Yes!

im have this codes in line 17393

pawn Код:
if(HouseInfo[iIndex][hOwned]) {
            if(HouseInfo[iIndex][hRentable] == 0) format(szFileStr, sizeof(szFileStr), "This house is owned by\n%s\nLevel: %d\nID: %d",HouseInfo[iIndex][hOwner],HouseInfo[iIndex][hLevel],iIndex);
            else format(szFileStr, sizeof(szFileStr), "This house is owned by\n%s\nRent: $%d\nLevel: %d\nID: %d\nType /rentroom to rent a room",HouseInfo[iIndex][hOwner],HouseInfo[iIndex][hRentFee],HouseInfo[iIndex][hLevel],iIndex);
        }
        else format(szFileStr, sizeof(szFileStr), "This house is\n for sale!\n Description: %s\nCost: $%d\n Level: %d\nID: %d\nTo buy this house type /buyhouse",HouseInfo[iIndex][hDescription],HouseInfo[iIndex][hValue],HouseInfo[iIndex][hLevel],iIndex);

        HouseInfo[iIndex][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]);
        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);
        ++iIndex;
    }
    return fclose(iFileHandle);
}



Re: Gates bug - ewida - 14.05.2013

in line 17393 have this code

pawn Код:
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);        ++iIndex;