Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Lexa poslato Mart 18, 2013, 14:22:00 POSLE PODNE

Naslov: (Pomoc) Potreban mi pomoc da se rijese warninzi
Poruka od: Lexa poslato Mart 18, 2013, 14:22:00 POSLE PODNE
Skripta koju koristim:SERP
Detaljan opis problema: Pokazuje mi sledece warninge
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(5227) : warning 219: local variable "sendername" shadows a variable at a preceding level
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(70852) : warning 204: symbol is assigned a value that is never used: "pare"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(70852 -- 70861) : warning 203: symbol is never used: "CreatedCars"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(70852 -- 70861) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
SE-LV.pwn(70852 -- 70861) : warning 203: symbol is never used: "WeaponNames"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(5336) : warning 204: symbol is assigned a value that is never used: "platatimer"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(5336 -- 70861) : warning 203: symbol is never used: "stringtu"
Dio skripte:
OVO SU DJELOVI SKRIPTI GDJE SU WARNINZI
public Cosak(playerid)

[code]        platatimer = SetTimerEx("MinutIgraca",2000,true,"i",playerid);

{
new pare = GetPlayerMoney(playerid);
new acc = PlayerInfo[playerid][pAccount];
new string[128];
format(string, sizeof(string), "$%d", acc);
TextDrawSetString(pare0[playerid], string);
TextDrawShowForPlayer(playerid, pare0[playerid]);
return 1;
}[/code]
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string2, sizeof(string2), "* %s je napustio server, pusteni ste.", sendername);
SCM(IDVucenogIgraca[playerid], COLOR_WHITE, string2);
TogglePlayerControllable(IDVucenogIgraca[playerid], 1);
Vucen[playerid] = 9999;

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Naslov: Odg: (Pomoc) Potreban mi pomoc da se rijese warninzi
Poruka od: Lexa poslato Mart 18, 2013, 14:37:08 POSLE PODNE
Sta sa njima?
Naslov: Odg: (Pomoc) Potreban mi pomoc da se rijese warninzi
Poruka od: Nadroj poslato Mart 18, 2013, 14:40:08 POSLE PODNE
pa daj da ih vidimo..... i takodje daj u kodu..... to ti je ona #
Naslov: Odg: (Pomoc) Potreban mi pomoc da se rijese warninzi
Poruka od: _HarDy_ poslato Mart 18, 2013, 14:40:24 POSLE PODNE

SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(70852) : warning 204: symbol is assigned a value that is never used: "pare"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(70852 -- 70861) : warning 203: symbol is never used: "CreatedCars"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(70852 -- 70861) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
SE-LV.pwn(70852 -- 70861) : warning 203: symbol is never used: "WeaponNames"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(5336) : warning 204: symbol is assigned a value that is never used: "platatimer"
SE-RP V2.2.0 LV-radni\gamemodes\SE-LV.pwn(5336 -- 70861) : warning 203: symbol is never used: "stringtu"



Ta dva errora rijesis tako da stisnes ctrl+f i onda upises ovo stringtu i izbrises ga , tako isto i platatimer

A za ostale errore moras nam poslati linije na kojim ti izbaciva error
Naslov: Odg: (Pomoc) Potreban mi pomoc da se rijese warninzi
Poruka od: _HarDy_ poslato Mart 18, 2013, 16:02:22 POSLE PODNE
Kada je symbol is never used onda ti pokaziva zadnju liniju od GMa .. a tu nemas nista =D

70861

Mislim da mu je to zadnja tako da mora ctrl + F =D
Naslov: Odg: (Pomoc) Potreban mi pomoc da se rijese warninzi
Poruka od: Milan || WG poslato Mart 19, 2013, 15:04:46 POSLE PODNE
PronaÄ'i u modu i izbrisi to jer never used nikad ne koristeno znaci nije potrebno to smao izbrisi,,,,