09.03.2011, 16:43
Hello,I need to code that system get killer team color.
I scripted like this
Errors:
Please help
I scripted like this
Код:
// Team info enum teaminfo { TeamColor, } // Script to get killerid team color new killerteamcolor; killerteamcolor = killerid [TeamColor];
Код:
C:\Users\bendra\Desktop\GangWarsServer\gamemodes\xLSTW.pwn(2201) : error 028: invalid subscript (not an array or too many subscripts): "killerid" C:\Users\bendra\Desktop\GangWarsServer\gamemodes\xLSTW.pwn(2201) : warning 215: expression has no effect C:\Users\bendra\Desktop\GangWarsServer\gamemodes\xLSTW.pwn(2201) : error 001: expected token: ";", but found "]" C:\Users\bendra\Desktop\GangWarsServer\gamemodes\xLSTW.pwn(2201) : error 029: invalid expression, assumed zero C:\Users\bendra\Desktop\GangWarsServer\gamemodes\xLSTW.pwn(2201) : fatal error 107: too many error messages on one line