26.01.2017, 08:01
(
Последний раз редактировалось Loinal; 26.01.2017 в 10:11.
)
Fixed
TextDrawLetterSize(Textdraw7, 0.286149, 0.690432);
TextDrawLetterSize(Textdraw7, 0.286149, 0.850432);
if I am not wrong its your letter / words font size height so you may try increasing this function values:
PHP код:
PHP код:
|
Textdraw8 = TextDrawCreate(0.000013, 424.853454, "Welcome");
TextDrawLetterSize(Textdraw8, 0.286149, 0.690432);
TextDrawTextSize(Textdraw8, 659.000000, 0.000000);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, -1);
TextDrawUseBox(Textdraw8, 1);
TextDrawBoxColor(Textdraw8, 2441635);
TextDrawSetShadow(Textdraw8, 1);
TextDrawSetOutline(Textdraw8, 0);
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 2);
TextDrawSetProportional(Textdraw8, 1);
TextDrawSetShadow(Textdraw8, 1);
Textdraw7 = TextDrawCreate(2.999974, 433.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");
TextDrawLetterSize(Textdraw7, 0.286149, 0.850432);
TextDrawTextSize(Textdraw7, 659.000000, 0.000000);
TextDrawAlignment(Textdraw7, 1);
TextDrawColor(Textdraw7, -1);
TextDrawUseBox(Textdraw7, 1);
TextDrawBoxColor(Textdraw7, 2441635);
TextDrawSetShadow(Textdraw7, 1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 2);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
Textdraw7[playerid] = PlayerTextDrawCreate(2.999974, 433.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");
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.
also:
PHP код:
Код:
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. |
PlayerTextDrawCreate(
CreatePlayerTextDraw(playerid,
~p~Level:~y~ 10
you may try changing
PHP код:
PHP код:
Код:
~p~Level:~y~ 10 |
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 (c) 1997-2006, ITB CompuPhase
4 Errors.
PlayerText:Textdraw7;
Textdraw7[playerid] = CreatePlayerTextDraw(playerid,2.999974, 433.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");
1-
PHP код:
PHP код:
|
PlayerText:Textdraw7;
Textdraw7 = CreatePlayerTextDraw(playerid,2.999974, 433.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");
PlayerText:Textdraw7[MAX_PLAYERS];
Textdraw7[playerid] = CreatePlayerTextDraw(playerid,2.999974, 433.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");
you're trying to use a var like an array...
PHP код:
PHP код:
|
PlayerTextDrawLetterSize(playerid, 0.286149, 0.850432);
PlayerTextDrawTextSize(playerid, 659.000000, 0.000000);
PlayerTextDrawAlignment(playerid, 1);
PlayerTextDrawColor(playerid, -1);
PlayerTextDrawUseBox(playerid, 1);
PlayerTextDrawBoxColor(playerid, 2441635);
PlayerTextDrawSetShadow(playerid, 1);
PlayerTextDrawSetOutline(playerid, 0);
PlayerTextDrawBackgroundColor(playerid, 255);
PlayerTextDrawFont(playerid, 2);
PlayerTextDrawSetProportional(playerid, 1);
PlayerTextDrawSetShadow(playerid, 1);
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.
TextDrawSetString(Textdraw7[playerid], string); TextDrawShowForPlayer(playerid, Textdraw7[playerid]);
D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2429) : warning 213: tag mismatch D:\samp folder\(XteMeX) xMs\gamemodes\xMs.pwn(2430) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9020 bytes Code size: 405440 bytes Data size: 8275384 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 8706228 bytes 2 Warnings.