Jump to content

Problema Gamemode Learn2Play(burned)


xLinix

Recommended Posts

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
Link to comment
Share on other sites

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).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.