[Pomoc] arrCoords

Započeo CarterIV, Decembar 09, 2012, 12:14:45 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: GF
Detaljan opis problema: Ubacio sam da se kuce mogu kupovati i sada mi izbacuje ovaj error
Dio skripte:
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(8476) : warning 217: loose indentation
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14564) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14565) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14566) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14567) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14568) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14569) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(14570) : error 032: array index out of bounds (variable "arrCoords")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(70144) : warning 235: public function lacks forward declaration (symbol "OnPropUpdate")
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(70196) : warning 217: loose indentation
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(70197) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.


HouseInfo[idx][hGunAmmo4] = strvalEx(arrCoords[37]);
HouseInfo[idx][hSafeStatus] = strvalEx(arrCoords[38]);
HouseInfo[idx][hSafePass] = strvalEx(arrCoords[39]);
HouseInfo[idx][hSafe] = strvalEx(arrCoords[40]);
HouseInfo[idx][hOrmar] = strvalEx(arrCoords[41]);//ormar
HouseInfo[idx][hExtraSkin] = strvalEx(arrCoords[42]); //extra skin
HouseInfo[idx][hWorld] = strval(arrCoords[43]);

Neke slike/video za lakse dobivanje pomoci(neobavezno):

Stari covek

arrCoords je premali niz povecaj ga. Po ovome sto si dao 44 treba da bude onda new arrCoords[44];
warning 235: public function lacks forward declaration (symbol "OnPropUpdate") - fali ti taj forward.

Citat: Gagi_ poslato Decembar 09, 2012, 12:20:18 POSLE PODNE
arrCoords je premali niz povecaj ga. Po ovome sto si dao 44 treba da bude onda new arrCoords[44];
warning 235: public function lacks forward declaration (symbol "OnPropUpdate") - fali ti taj forward.

Hvala sredio sam :D