PDA

View Full Version : TextDraw Help


RandomDude
27/07/2013, 12:09 PM
C:\Users\Grand\Desktop\Ultimate Gaming Ground\gamemodes\STUNTS.pwn(726) : error 028: invalid subscript (not an array or too many subscripts): "Textdraw0"
C:\Users\Grand\Desktop\Ultimate Gaming Ground\gamemodes\STUNTS.pwn(726) : error 017: undefined symbol "playerid"
C:\Users\Grand\Desktop\Ultimate Gaming Ground\gamemodes\STUNTS.pwn(726) : error 029: invalid expression, assumed zero
C:\Users\Grand\Desktop\Ultimate Gaming Ground\gamemodes\STUNTS.pwn(726) : fatal error 107: too many error messages on one line

Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 165.200103, 135.900009, "usebox");

I get them errors.

Sublime
27/07/2013, 12:12 PM
new PlayerText:Textdraw0[MAX_PLAYERS];


Add that line below your #define's and you're good to go

RandomDude
27/07/2013, 12:16 PM
Yeah I did.
I found the problem I was doing wrong silly me.
Thanks :)