←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

inne statystyki dla kazdej klasy

Zablokowany

uzytkownik - zdjęcie uzytkownik 28.07.2011

Witam.
Mam problem z innymi statytystykami dla klasy, moj public skilltree wyglada tak:
Spoiler


a to bledy, ktore wyskakuja:
//AMXXPC compile.exe
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2808) : warning 204: symbol is assigned a value that is never used: "max_exp"
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2808) : warning 204: symbol is assigned a value that is never used: "max_reg"
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2808) : warning 204: symbol is assigned a value that is never used: "max_zwin"
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2808) : warning 204: symbol is assigned a value that is never used: "max_zre"
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2808) : warning 204: symbol is assigned a value that is never used: "max_sila"
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2808) : warning 204: symbol is assigned a value that is never used: "max_int"

// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2883) : warning 203: symbol is never used: "max_exp"
// C:\Documents and Settings\User\Pulpit\inne-rozne\pluginy\compiler\diablostatystyki2.sma(2883) : warning 203: symbol is never used: "max_reg"

Diablo dziala, ale nie mozna dac w podstawowe a te reszte co mam juz mozna dac w niskonczonosc
Odpowiedz

  • +
  • -
kavi76 - zdjęcie kavi76 30.07.2011

To nie są errory(błędy) to są tylko ostrzeżenia prawdopodobnie czegoś zapomniałeś zrobić
lub zrobiłeś to źle
Odpowiedz

Zaszka - zdjęcie Zaszka 30.07.2011

symbol is assigned a value that is never used -
Zmienna z wartością nie jest użyta.
Więc zrobiłeś zmienna dałeś jej wartość ale musisz ją uzyć...
To tak jakbym zrobił plugin z samych zmiennych dał im wartości ale nigdy nie użył...


symbol is never used - zmienna nie jest nigdzie użyta.


Daj te zmienne osobno przed plugin_init bo źle to robisz
Użytkownik Zaszka edytował ten post 30.07.2011 17:38
Odpowiedz

  • +
  • -
Stachuu :D ?? - zdjęcie Stachuu :D ?? 30.07.2011

usun to w skill_menu
new max_int //inteligencja      	
new max_sila //siła      	
new max_zre //zręczność     	
 new max_zwin //zwinność 	
new max_reg 	
new max_exp
i to trzeba zrobic zmienna z indeksem

dajesz nad plugin_init

new max_sila[33]

resztę max_sila zamień na max_sila[id] i już .
Użytkownik Stachu123 edytował ten post 30.07.2011 18:14
Odpowiedz
Zablokowany