Jump to content
  • 0

2 warninguri


NeLu.

Question

Sallz am si eu 2 warninguri...

[pawn]D:\-----\gamemodes\---.pwn(403) : warning 235: public function lacks forward declaration (symbol "MSeconds")

D:\-----\gamemodes\----.pwn(553) : warning 204: symbol is assigned a value that is never used: "MSecondsTimer"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Warnings.

[/pawn]

liniile

[pawn]403: public MSeconds()

553:  MSecondsTimer = SetTimer("MSeconds", 100, 1);//curcubeu timer[/pawn]

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

In Gm nu am "ongameexit" am OnGameModeExit si am pus acolo  KillTimer(MSeconds); si primesc error...

Normal ca primesti eroare ca tu practic incerci sa inchizi callback-ul MSeconds.

Cand creezi timer-ul fal asa ca sa poti folosii functia KillTimer.

new timer;

timer = SetTimer(......);

Si al doilea warning iti spune ca nu folosesti nicaieri in script "MSecondsTimer".

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.