not indexed
#1

Код:
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\dAdmin.pwn(4711) : error 033: array must be indexed (variable "weaponIDs")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
if(GetPlayerWeapon(i) == weaponIDs)
Reply
#2

mybe
pawn Код:
if(GetPlayerWeapn(i) == weaponIDs[i])
Reply
#3

No it doesn't work
Reply
#4

You need a counter or a for loop to get it indexed
Reply
#5

Gamer007 just give to us more code if you want to get quick answer

* may be "weaponIDs" defined as array but uses as number
Reply
#6

just check the defenition of WeaponIDs
Reply
#7

fixed it ty for help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)