[Trouble]Textdraw - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Trouble]Textdraw (
/showthread.php?tid=151362)
[Trouble]Textdraw -
oNx - 30.05.2010
Well when i try to Hide or Destroy the textdraws i created i get this problem
Код:
C:\Users\oNx\Desktop\RockStar RolePlay\gamemodes\RR.pwn(227) : error 028: invalid subscript (not an array or too many subscripts): "Textdraw0"
C:\Users\oNx\Desktop\RockStar RolePlay\gamemodes\RR.pwn(227) : warning 215: expression has no effect
C:\Users\oNx\Desktop\RockStar RolePlay\gamemodes\RR.pwn(227) : error 001: expected token: ";", but found "]"
C:\Users\oNx\Desktop\RockStar RolePlay\gamemodes\RR.pwn(227) : error 029: invalid expression, assumed zero
C:\Users\oNx\Desktop\RockStar RolePlay\gamemodes\RR.pwn(227) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
227 line = TextDrawHideForPlayer(playerid, Textdraw0[playerid]);
can anyone tell me what is wrong and i only defined Textdraw0 once on the top of the script showing works fine but hiding or destroying give me this error
Re: [Trouble]Textdraw -
Grim_ - 30.05.2010
Show us the associated lines?
Re: [Trouble]Textdraw -
oNx - 30.05.2010
All of the lines are For hiding the textdraws so prettymuch only 1 number changes i even checked the wiki and im doing it corret
as i see so what alse do you want me to put to see if you can help me?