18.12.2016, 20:33
Seguinte galera, criei um login em textdraw, mas na hora de deixar a textdraw clicбvel nгo estб dando, olhe as textdraw:
Agradeзo a quem ajudar
PHP код:
textTelaLogin[12] = TextDrawCreate(36.250000, 187.833267, "Logar");
TextDrawLetterSize(textTelaLogin[12], 0.449999, 1.600000);
TextDrawTextSize(textTelaLogin[12], 1.875000, 10.000000);
TextDrawAlignment(textTelaLogin[12], 1);
TextDrawColor(textTelaLogin[12], -1);
TextDrawSetShadow(textTelaLogin[12], 0);
TextDrawSetOutline(textTelaLogin[12], 1);
TextDrawBackgroundColor(textTelaLogin[12], 51);
TextDrawFont(textTelaLogin[12], 3);
TextDrawSetProportional(textTelaLogin[12], 1);
TextDrawSetSelectable(textTelaLogin[12], true);
textTelaLogin[13] = TextDrawCreate(20.375000, 226.749893, "Registrar");
TextDrawLetterSize(textTelaLogin[13], 0.449999, 1.600000);
TextDrawTextSize(textTelaLogin[13], 53.125000, 10.000000);
TextDrawAlignment(textTelaLogin[13], 1);
TextDrawColor(textTelaLogin[13], -1);
TextDrawSetShadow(textTelaLogin[13], 0);
TextDrawSetOutline(textTelaLogin[13], 1);
TextDrawBackgroundColor(textTelaLogin[13], 51);
TextDrawFont(textTelaLogin[13], 3);
TextDrawSetProportional(textTelaLogin[13], 1);
TextDrawSetSelectable(textTelaLogin[13], true);
textTelaLogin[14] = TextDrawCreate(33.250000, 260.999938, "Forum");
TextDrawLetterSize(textTelaLogin[14], 0.449999, 1.600000);
TextDrawTextSize(textTelaLogin[14], 46.250000, 10.000000);
TextDrawAlignment(textTelaLogin[14], 1);
TextDrawColor(textTelaLogin[14], -1);
TextDrawSetShadow(textTelaLogin[14], 0);
TextDrawSetOutline(textTelaLogin[14], 1);
TextDrawBackgroundColor(textTelaLogin[14], 51);
TextDrawFont(textTelaLogin[14], 3);
TextDrawSetProportional(textTelaLogin[14], 1);
TextDrawSetSelectable(textTelaLogin[14], true);
stock CarregarTextLogin(playerid)
{
for(new x; x != 29; x++){
TextDrawShowForPlayer(playerid, textTelaLogin[x]);
}
SelectTextDraw(playerid, 0xFFFFFFFF);
return 1;
}