TDEditor_TD[6] = TextDrawCreate(271.201141, 181.300109, "box");
TextDrawLetterSize(TDEditor_TD[6], 0.000000, 1.799998);
TextDrawTextSize(TDEditor_TD[6], 362.701141, 0.000000); // O valor й 362
TextDrawAlignment(TDEditor_TD[6], 1);
TextDrawColor(TDEditor_TD[6], -1);
TextDrawUseBox(TDEditor_TD[6], 1);
TextDrawBoxColor(TDEditor_TD[6], 105);
TextDrawSetShadow(TDEditor_TD[6], 0);
TextDrawSetOutline(TDEditor_TD[6], 0);
TextDrawBackgroundColor(TDEditor_TD[6], 255);
TextDrawFont(TDEditor_TD[6], 1);
TextDrawSetProportional(TDEditor_TD[6], 1);
TextDrawSetShadow(TDEditor_TD[6], 0);
TDEditor_TD[7] = TextDrawCreate(271.101135, 211.501953, "box");
TextDrawLetterSize(TDEditor_TD[7], 0.000000, 1.799998);
TextDrawTextSize(TDEditor_TD[7], 362.601135, 0.000000); O valor й 362
TextDrawAlignment(TDEditor_TD[7], 1);
TextDrawColor(TDEditor_TD[7], -1);
TextDrawUseBox(TDEditor_TD[7], 1);
TextDrawBoxColor(TDEditor_TD[7], 105);
TextDrawSetShadow(TDEditor_TD[7], 0);
TextDrawSetOutline(TDEditor_TD[7], 0);
TextDrawBackgroundColor(TDEditor_TD[7], 255);
TextDrawFont(TDEditor_TD[7], 1);
TextDrawSetProportional(TDEditor_TD[7], 1);
TextDrawSetShadow(TDEditor_TD[7], 0);
TDEditor_TD[8] = TextDrawCreate(271.101135, 241.503784, "box");
TextDrawLetterSize(TDEditor_TD[8], 0.000000, 1.799998);
TextDrawTextSize(TDEditor_TD[8], 362.601135, 0.000000); O valor й 362
TextDrawAlignment(TDEditor_TD[8], 1);
TextDrawColor(TDEditor_TD[8], -1);
TextDrawUseBox(TDEditor_TD[8], 1);
TextDrawBoxColor(TDEditor_TD[8], 105);
TextDrawSetShadow(TDEditor_TD[8], 0);
TextDrawSetOutline(TDEditor_TD[8], 0);
TextDrawBackgroundColor(TDEditor_TD[8], 255);
TextDrawFont(TDEditor_TD[8], 1);
TextDrawSetProportional(TDEditor_TD[8], 1);
TextDrawSetShadow(TDEditor_TD[8], 0);
TDEditor_TD[9] = TextDrawCreate(271.501129, 271.405609, "box");
TextDrawLetterSize(TDEditor_TD[9], 0.000000, 1.799998);
TextDrawTextSize(TDEditor_TD[9], 362.899993, 0.000000); O valor й 362
TextDrawAlignment(TDEditor_TD[9], 1);
TextDrawColor(TDEditor_TD[9], -1);
TextDrawUseBox(TDEditor_TD[9], 1);
TextDrawBoxColor(TDEditor_TD[9], 105);
TextDrawSetShadow(TDEditor_TD[9], 0);
TextDrawSetOutline(TDEditor_TD[9], 0);
TextDrawBackgroundColor(TDEditor_TD[9], 255);
TextDrawFont(TDEditor_TD[9], 1);
TextDrawSetProportional(TDEditor_TD[9], 1);
TextDrawSetShadow(TDEditor_TD[9], 0);
TDEditor_TD[11] = TextDrawCreate(271.399871, 181.612548, "DEPOSITAR");
TextDrawLetterSize(TDEditor_TD[11], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[11], 1);
TextDrawColor(TDEditor_TD[11], -1);
TextDrawSetShadow(TDEditor_TD[11], 0);
TextDrawSetOutline(TDEditor_TD[11], 0);
TextDrawBackgroundColor(TDEditor_TD[11], 255);
TextDrawFont(TDEditor_TD[11], 2);
TextDrawSetProportional(TDEditor_TD[11], 1);
TextDrawSetShadow(TDEditor_TD[11], 0);
TDEditor_TD[12] = TextDrawCreate(271.799926, 211.800048, "sacar");
TextDrawLetterSize(TDEditor_TD[12], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[12], 1);
TextDrawColor(TDEditor_TD[12], -1);
TextDrawSetShadow(TDEditor_TD[12], 0);
TextDrawSetOutline(TDEditor_TD[12], 0);
TextDrawBackgroundColor(TDEditor_TD[12], 255);
TextDrawFont(TDEditor_TD[12], 2);
TextDrawSetProportional(TDEditor_TD[12], 1);
TextDrawSetShadow(TDEditor_TD[12], 0);
TDEditor_TD[13] = TextDrawCreate(271.499938, 241.962493, "SALDO");
TextDrawLetterSize(TDEditor_TD[13], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[13], 1);
TextDrawColor(TDEditor_TD[13], -1);
TextDrawSetShadow(TDEditor_TD[13], 0);
TextDrawSetOutline(TDEditor_TD[13], 0);
TextDrawBackgroundColor(TDEditor_TD[13], 255);
TextDrawFont(TDEditor_TD[13], 2);
TextDrawSetProportional(TDEditor_TD[13], 1);
TextDrawSetShadow(TDEditor_TD[13], 0);
TDEditor_TD[14] = TextDrawCreate(270.999938, 271.712493, "SALDO_fgts");
TextDrawLetterSize(TDEditor_TD[14], 0.360000, 1.595625);
TextDrawAlignment(TDEditor_TD[14], 1);
TextDrawColor(TDEditor_TD[14], -1);
TextDrawSetShadow(TDEditor_TD[14], 0);
TextDrawSetOutline(TDEditor_TD[14], 0);
TextDrawBackgroundColor(TDEditor_TD[14], 255);
TextDrawFont(TDEditor_TD[14], 2);
TextDrawSetProportional(TDEditor_TD[14], 1);
TextDrawSetShadow(TDEditor_TD[14], 0);
TextDrawSetSelectable(text, true);
Nгo esqueceu de torna la clicбvel nй ?
PHP код:
|
SelectTextDraw(playerid, Cor da textdraw ao passar mouse);
Coloca isso quando for exibir a textdraw
PHP код:
|
SelectTextDraw(playerid, 0xFFFFFF70);
TDEditor_TD[3] = TextDrawCreate(271.100128, 180.375000, "DEPOSITAR");
TextDrawLetterSize(TDEditor_TD[3], 0.400000, 1.600000);
TextDrawTextSize(TDEditor_TD[3], 362.900177, 0.000000); // 362 O VALOR DE X
TDEditor_TD[6] = TextDrawCreate(271.100128, 205.776550, "SACAR");
TextDrawLetterSize(TDEditor_TD[6], 0.400000, 1.600000);
TextDrawTextSize(TDEditor_TD[6], 362.900177, 0.000000); // 362 O VALOR DE X
TDEditor_TD[7] = TextDrawCreate(271.100158, 231.378112, "SALDO");
TextDrawLetterSize(TDEditor_TD[7], 0.400000, 1.600000);
TextDrawTextSize(TDEditor_TD[7], 362.500030, 0.000000); // 362 O VALOR DE X
TDEditor_TD[8] = TextDrawCreate(271.100158, 256.779663, "SALDO_fgts");
TextDrawLetterSize(TDEditor_TD[8], 0.361999, 1.595625);
TextDrawTextSize(TDEditor_TD[8], 362.409423, 0.000000);// 362 O VALOR DE X