SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 27/07/2013, 12:09 PM   #1
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default TextDraw Help

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.
RandomDude is offline   Reply With Quote
Old 27/07/2013, 12:12 PM   #2
Sublime
High-roller
 
Sublime's Avatar
 
Join Date: Jul 2013
Location: 6ix god
Posts: 992
Reputation: 223
Default Re: TextDraw Help

pawn Code:
new PlayerText:Textdraw0[MAX_PLAYERS];

Add that line below your #define's and you're good to go
Sublime is offline   Reply With Quote
Old 27/07/2013, 12:16 PM   #3
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Re: TextDraw Help

Yeah I did.
I found the problem I was doing wrong silly me.
Thanks
RandomDude is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Making a Health/armour textdraw! (Global textdraw) -Rebel Son- Tutorials 22 21/02/2020 01:27 AM
[FilterScript] [FS] TextDraw editor 0.6 - Multiple textdraw support, for proffesional textdraws Zamaroht Filterscripts 369 20/01/2013 02:46 PM
[Tutorial] --: Creating Textdraw's In The Easiest Way :-- [Helpful for textdraw creators] Nirzor Tutorials 15 04/10/2012 12:32 PM
TextDraw not showing, first time using TextDraw. Jack_Leslie Scripting Help 5 02/09/2011 11:28 AM
[Textdraw] New Player steals the Textdraw KingArthur Help Archive 15 28/02/2009 05:50 PM


All times are GMT. The time now is 11:32 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.