Textdraw bug
#9

Quote:
Originally Posted by jlalt
Посмотреть сообщение
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"); 
Ok, Thanks onther warnings and 1 error:

PHP код:
PlayerTextDrawLetterSize(playerid0.2861490.850432);
PlayerTextDrawTextSize(playerid659.0000000.000000);
PlayerTextDrawAlignment(playerid1);
PlayerTextDrawColor(playerid, -1);
PlayerTextDrawUseBox(playerid1);
PlayerTextDrawBoxColor(playerid2441635);
PlayerTextDrawSetShadow(playerid1);
PlayerTextDrawSetOutline(playerid0);
PlayerTextDrawBackgroundColor(playerid255);
PlayerTextDrawFont(playerid2);
PlayerTextDrawSetProportional(playerid1);
PlayerTextDrawSetShadow(playerid1); 
Код:
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2210) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2210) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2211) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2211) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2212) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2212) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2213) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2213) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2214) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2214) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2215) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2215) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2216) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2216) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2217) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2217) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2218) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2218) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2219) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2219) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2220) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2220) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2221) : warning 213: tag mismatch
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2221) : warning 202: number of arguments does not match definition
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2421) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
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)