Jump to content
  • 0

8 Warnings.


Seven

Question

Salut. Am dat o comanda foarte simpla .. [ /santa .. sa iti pui caciula pe cap de mos craciun ] si cand am da compile mi`au aparut 8 erori....

[pawn]

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\pawno\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(14522) : warning 219: local variable "playermoney" shadows a variable at a preceding level

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(53139) : warning 203: symbol is never used: "CapsOnEnd"

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(53139) : warning 203: symbol is never used: "ConsecutiveCaps"

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(53139) : warning 203: symbol is never used: "IsInvalid"

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(53139) : warning 203: symbol is never used: "NumOccurences"

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(53139) : warning 203: symbol is never used: "TooManyCaps"

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(53139) : warning 203: symbol is never used: "TooShortOnEnd"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

8 Warnings.[/pawn]

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Cauta toate variabilele la care apare warning-ul "symbol is never used" si stergele.

Dute la linia 14522(CTRL+G) si redenumeste variabila "playermoney" pentru ca mai ai o variabila globala cu acelasi nume.

Si callback-ul OnPlayerEnterRaceCheckpoint il ai de 2 ori in script.

Just Rock

Link to comment
Share on other sites

[pawn]C:\Documents and Settings\alex\Desktop\Indungi HD Rp\pawno\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")

C:\Documents and Settings\alex\Desktop\Indungi HD Rp\gamemodes\Indungi.pwn(14517) : warning 219: local variable "playermoney" shadows a variable at a preceding level

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Warnings.

[/pawn]

In ce sa o redefinesc ?? "playermoney"  .. am incercat .. alt nume dar mi-a dat 6 erori asa ca am revenit la numele initial.

Link to comment
Share on other sites

Buna seara Seven

In urma analizarii problemei tale am constatat ca problema este de la variabila "playermoney".Dupa cum observi si in warning,"playermoney" este definit de doua ori.Sterge una dintre ele si vei scapa de acest warning.

Cat despre primul warning ("3248") am o intrebare.Folosesti cumva Junkbuster ?

Sper ca ti-am fost de folos si astept un raspuns la intrebarea mea.

[Pawn]

Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)

Link to comment
Share on other sites

Buna seara,

Problema a fost rezolvata.In urma unor 26 de erori,dupa rezolvarea lor am constatat ca toate veneau din cauza Junkbusteru-lui.Sfatul meu este sa numai folositi Junkbuster veriune veche si versiunea noua.Totusi,anticheat-urile puse direct in gamemode sunt cele mai buna.Voi face in aceasta seara un tutorial pentru anticheat.

La revedere si cu placere !

Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.