TextDraw Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: TextDraw Help (
/showthread.php?tid=454011)
TextDraw Help -
RandomDude - 27.07.2013
Code:
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
pawn Code:
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 165.200103, 135.900009, "usebox");
I get them errors.
Re: TextDraw Help -
Sublime - 27.07.2013
pawn Code:
new PlayerText:Textdraw0[MAX_PLAYERS];
Add that line below your #define's and you're good to go
Re: TextDraw Help -
RandomDude - 27.07.2013
Yeah I did.
I found the problem I was doing wrong silly me.
Thanks