Jump to content

Recommended Posts

Posted (edited)

Salut, cand incerc sa compilez gm-ul imi da eroarea asta

 

wa-rpg.pwn(12738) : warning 208: function with tag result used before definition, forcing reparse
wa-rpg.pwn(27894) : warning 208: function with tag result used before definition, forcing reparse
wa-rpg.pwn(33204) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : error 017: undefined symbol "CasinoTD"
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : warning 215: expression has no effect
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : error 001: expected token: ";", but found "]"
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : error 029: invalid expression, assumed zero
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
[Finished in 1.4s]

(nu am cum sa il pun pe pastebin.

(warning-urile stiu sa le rezolv, dar la include-ul systems.inc nu sti ce sa fac

    CasinoTD[0] = TextDrawCreate(156.666671, 160.962982, "box"); (teoretic linia asta ar fi problema, dar e lfl ca toate celelalte si e scris corect, de la alt ceva e problema)
    TextDrawLetterSize(CasinoTD[0], 0.000000, 19.700004);
    TextDrawTextSize(CasinoTD[0], 461.000000, 0.000000);
    TextDrawAlignment(CasinoTD[0], 1);
    TextDrawColor(CasinoTD[0], -1);
    TextDrawUseBox(CasinoTD[0], 1);
    TextDrawBoxColor(CasinoTD[0], 103);
    TextDrawSetShadow(CasinoTD[0], 0);
    TextDrawSetOutline(CasinoTD[0], 0);
    TextDrawBackgroundColor(CasinoTD[0], 255);
    TextDrawFont(CasinoTD[0], 1);
    TextDrawSetProportional(CasinoTD[0], 1);
    TextDrawSetShadow(CasinoTD[0], 0);

Edited by xLinix
Posted
Acum 5 ore, xLinix a spus:

Salut, cand incerc sa compilez gm-ul imi da eroarea asta

 

wa-rpg.pwn(12738) : warning 208: function with tag result used before definition, forcing reparse
wa-rpg.pwn(27894) : warning 208: function with tag result used before definition, forcing reparse
wa-rpg.pwn(33204) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : error 017: undefined symbol "CasinoTD"
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : warning 215: expression has no effect
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : error 001: expected token: ";", but found "]"
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : error 029: invalid expression, assumed zero
C:\Users\xlini\Desktop\Gamemode SAMP\Gamemode Learn2Play\pawno\lnd\include\systems.inc(3726) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
[Finished in 1.4s]

(nu am cum sa il pun pe pastebin.

(warning-urile stiu sa le rezolv, dar la include-ul systems.inc nu sti ce sa fac

    CasinoTD[0] = TextDrawCreate(156.666671, 160.962982, "box"); (teoretic linia asta ar fi problema, dar e lfl ca toate celelalte si e scris corect, de la alt ceva e problema)
    TextDrawLetterSize(CasinoTD[0], 0.000000, 19.700004);
    TextDrawTextSize(CasinoTD[0], 461.000000, 0.000000);
    TextDrawAlignment(CasinoTD[0], 1);
    TextDrawColor(CasinoTD[0], -1);
    TextDrawUseBox(CasinoTD[0], 1);
    TextDrawBoxColor(CasinoTD[0], 103);
    TextDrawSetShadow(CasinoTD[0], 0);
    TextDrawSetOutline(CasinoTD[0], 0);
    TextDrawBackgroundColor(CasinoTD[0], 255);
    TextDrawFont(CasinoTD[0], 1);
    TextDrawSetProportional(CasinoTD[0], 1);
    TextDrawSetShadow(CasinoTD[0], 0);

Defineste CasinoTD in gamemode sau in systems.inc. Pune in gamemode new CasinoTD[1]; (inlocuieste [1] cu numarul pe care il ai de textdrawuri de la Casino).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.