Textdraw bug
#5

Quote:
Originally Posted by Loinal
Посмотреть сообщение
also:
PHP код:
Textdraw7[playerid] = PlayerTextDrawCreate(2.999974433.329394"~p~Level:~y~ 10~p~ Cookies:~y~ 99999999999~p~ Cakes:~y~ 99999999999~p~ Icecreams:~y~ 99999999999~p~ Kills: ~y~99999999999~n~~p~Deaths: ~y~99999999999"); 
gives error:

Код:
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2209) : error 028: invalid subscript (not an array or too many subscripts): "Textdraw7"
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2209) : warning 215: expression has no effect
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2209) : error 001: expected token: ";", but found "]"
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2209) : error 029: invalid expression, assumed zero
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2209) : fatal error 107: too many error messages on one line

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


4 Errors.
you may try changing
PHP код:
PlayerTextDrawCreate
with
PHP код:
CreatePlayerTextDraw(playerid
also about the color, you're using custom color in your text string:
Код:
~p~Level:~y~ 10
this ~p~ and ~y~ if I am not wrong telling script to make text color as pruple and yellow... [ textdraw default color will be changed... ]
Reply


Messages In This Thread
Textdraw bug - by Loinal - 26.01.2017, 08:01
Re: Textdraw bug - by jlalt - 26.01.2017, 08:04
Re: Textdraw bug - by Loinal - 26.01.2017, 08:26
Re: Textdraw bug - by Loinal - 26.01.2017, 08:41
Re: Textdraw bug - by jlalt - 26.01.2017, 09:06
Re: Textdraw bug - by ISmokezU - 26.01.2017, 09:09
Re: Textdraw bug - by Loinal - 26.01.2017, 09:20
Re: Textdraw bug - by jlalt - 26.01.2017, 09:22
Re: Textdraw bug - by Loinal - 26.01.2017, 09:26
Re: Textdraw bug - by Loinal - 26.01.2017, 10:22

Forum Jump:


Users browsing this thread: 1 Guest(s)