[ Pomoc ] 2 Warniga


Započeo KeNnda, Septembar 30, 2014, 11:19:39 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: UP
Opis problema o kojem se radi: Uradio sam chatporuke i chatdouble(DA PISE IZNAD GLAVE ADMIN GM ...)  i stavio sam timer za obadvoje al sad mi izbacuje 2 warniga
Dio skripte: Dam
Slika (neobavezno):


Sta mi izbacuje kad compilam :
C:\Gamemodes\Balkan Family RP\gamemodes\BalkanFamily.pwn(9315) : warning 204: symbol is assigned a value that is never used: "chatdouble"
C:\Gamemodes\Balkan Family RP\gamemodes\BalkanFamily.pwn(9313) : warning 204: symbol is assigned a value that is never used: "chatporuke"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:          26996 bytes
Code size:          2650864 bytes
Data size:          5343900 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 8038144 bytes

2 Warnings.



new chatdouble;


chatdouble = SetTimer("ChatDouble",3000,1);



od chat poruka:

new chatporuke;


od chat poruka :
chatporuke = SetTimer("ChatPoruke", 120000, 1);

#define chatdobule
#define chatporuke
Poslednja Izmena: Septembar 30, 2014, 11:22:19 PRE PODNE od Dexicpro


Ovaj profil na BS koristi nas troje. Kike, Duksna, Amatic. Tako da neispadnemo glupi :D

Citat: Dexicpro poslato Septembar 30, 2014, 11:21:27 PRE PODNE
#define chatdobule
#define chatporuke
Ocigledno si pocetnik, izbacuje mu 2 warninga
symbol is assigned a value that is never used
a to znaci da se taj symbol nigde ne koristi.

P.S. Postavi public za chatdouble i poruke.
Poslednja Izmena: Septembar 30, 2014, 11:37:35 PRE PODNE od Seiz

//
Poslednja Izmena: Septembar 30, 2014, 11:37:13 PRE PODNE od Seiz

Bye Bye

Poslednja Izmena: Septembar 30, 2014, 12:13:49 POSLE PODNE od KeNnda

Obrisi
new chatdouble;
i
new chatporuke;
umesto
chatdouble = SetTimer("ChatDouble",3000,1);
stavi
SetTimer("ChatDouble",3000,1);
i umesto
chatporuke = SetTimer("ChatPoruke", 120000, 1);
stavi
SetTimer("ChatPoruke", 120000, 1);
Poslednja Izmena: Septembar 30, 2014, 11:51:44 PRE PODNE od Seiz