Textdraw bug
#8

Quote:
Originally Posted by Loinal
Посмотреть сообщение
1-
PHP код:
D:\samp folder\(XteMeXxMs\gamemodes\xMs.pwn(2209) : error 028invalid subscript (not an array or too many subscripts): "Textdraw7"
D:\samp folder\(XteMeXxMs\gamemodes\xMs.pwn(2209) : warning 215expression has no effect
D
:\samp folder\(XteMeXxMs\gamemodes\xMs.pwn(2209) : error 001expected token";"but found "]"
D:\samp folder\(XteMeXxMs\gamemodes\xMs.pwn(2209) : error 029invalid expressionassumed zero
D
:\samp folder\(XteMeXxMs\gamemodes\xMs.pwn(2209) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

errors in line

PHP код:
PlayerText:Textdraw7;
Textdraw7[playerid] = CreatePlayerTextDraw(playerid,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"); 
2- About the colours / Iam speaking about the box colours
you're trying to use a var like an array...

PHP код:
PlayerText:Textdraw7;
Textdraw7 CreatePlayerTextDraw(playerid,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"); 
or:

PHP код:
PlayerText:Textdraw7[MAX_PLAYERS];
Textdraw7[playerid] = CreatePlayerTextDraw(playerid,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"); 
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)