error 028: invalid subscript (not an array or too many subscripts)
#1

Код:
C:\Documents and Settings\User\Desktop\server\gamemodes\GangWars.pwn(661) : error 028: invalid subscript (not an array or too many subscripts): "PayDay"
C:\Documents and Settings\User\Desktop\server\gamemodes\GangWars.pwn(661) : error 017: undefined symbol "playerid"
C:\Documents and Settings\User\Desktop\server\gamemodes\GangWars.pwn(661) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\server\gamemodes\GangWars.pwn(661) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Here's the code from line 661

Код:
TextDrawBackgroundColor(PayDay[playerid], 255);
Reply
#2

Where are you putting this?

I'm seeing that this should be a Per Player Textdraw, you should create it at OnPlayerConnect.

And I suppose you are not doing like this:

pawn Код:
new PlayerText:PayDay[MAX_PLAYERS];
Reply
#3

SOLVED!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)