Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: KeNnda poslato Septembar 30, 2014, 11:19:39 PRE PODNE

Naslov: [ Pomoc ] 2 Warniga
Poruka od: KeNnda poslato Septembar 30, 2014, 11:19:39 PRE PODNE
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);
Naslov: Odg: [ Pomoc ] 2 Warniga
Poruka od: Dexicpro poslato Septembar 30, 2014, 11:21:27 PRE PODNE
#define chatdobule
#define chatporuke
Naslov: Odg: [ Pomoc ] 2 Warniga
Poruka od: Seiz poslato Septembar 30, 2014, 11:32:41 PRE PODNE
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.
Naslov: Odg: [ Pomoc ] 2 Warniga
Poruka od: Seiz poslato Septembar 30, 2014, 11:33:30 PRE PODNE
//
Naslov: Odg: [ Pomoc ] 2 Warniga
Poruka od: KeNnda poslato Septembar 30, 2014, 11:46:45 PRE PODNE
Bye Bye
Naslov: Odg: [ Pomoc ] 2 Warniga
Poruka od: Seiz poslato Septembar 30, 2014, 11:51:05 PRE PODNE
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);
Naslov: Odg: [ Pomoc ] 2 Warniga
Poruka od: KeNnda poslato Septembar 30, 2014, 12:13:21 POSLE PODNE
Hvala ti moze pod loock :D