error 033: array must be indexed (variable "tmp")

Započeo deely, Avgust 26, 2017, 02:00:29 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: Gamemode
Detaljan opis problema: https://hastebin.com/enupakizer.tex
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

tmp koji ti stoji ovako nekako new tmp[50]; stavi na new tmp[500];, onda new newcar; izbrisi, onda new Poz; izbrisi, onda new pveh; izbrisi, new newcar; si 2 put definirao pod new, onda za OnNPCModeInit ti fali forward OnNPCModeInit(playerid); iznad plugina


C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(6077) : warning 219: local variable "newcar" shadows a variable at a preceding level


Ovo ti govori da je vec negdje iznad definirana ova funkcija, samo je obrisi ili preimenuj u drugu ako varijable nisu za istu funkciju na koju primjenjujes...

C:\Users\deely\Desktop\NewWorld v7.12\pawno\include\sscanf2.inc(73) : warning 235: public function lacks forward declaration (symbol "OnNPCModeInit")


Ovo je valjda problem sa sscanfom, uzmi novi, tj. ovaj zamjeni novijim...

C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(5899) : warning 204: symbol is assigned a value that is never used: "pveh"
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(5898) : warning 204: symbol is assigned a value that is never used: "Poz"
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(5897) : warning 204: symbol is assigned a value that is never used: "newcar"


Ovo ti govori da nikad ovo nije iskoristeno pa nema ni potrebe da bude definirano. Obrisi definicije.

C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(25640) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(25648) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(26116) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(26314) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(26370) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(26451) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(26652) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(26966) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27108) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27116) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27173) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27181) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27480) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27494) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27671) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27679) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27719) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27727) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(27889) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28171) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28197) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28223) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28273) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28299) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28325) : error 033: array must be indexed (variable "tmp")
C:\Users\deely\Desktop\NewWorld v7.12\gamemodes\NW.pwn(28368) : error 033: array must be indexed (variable "tmp")


Varijabla tmp ti je vjerovatno definirana kao
new tmp;
skripta ocekuje index
new tmp[100];
Poslednja Izmena: Avgust 26, 2017, 19:07:44 POSLE PODNE od [CG] Johnny