27.11.2017, 11:54
Doubt, I have a record using textdraws in this way working through keys.
new
Text:RegDraw[MAX_PLAYERS];
In OnGamemodeInit.
At the moment of showing them it is
My question is, is this the best way or should I use it with PlayerTextdraw instead of how it is defined?
new
Text:RegDraw[MAX_PLAYERS];
In OnGamemodeInit.
Код:
for(new i = 0; i<MAX_PLAYERS; i++)
{
RegDraw[i] = TextDrawCreate(190.000000, 367.000000, "~n~Sexo: ~r~Masculino ~w~Edad: ~r~29~n~~n~~w~Origen: ~r~America ~w~Estilo: ~r~Pandilla1");
TextDrawBackgroundColor(RegDraw[i], 255);
TextDrawFont(RegDraw[i], 1);
TextDrawLetterSize(RegDraw[i], 0.320000, 1.200000);
TextDrawColor(RegDraw[i], -1);
TextDrawSetOutline(RegDraw[i], 1);
TextDrawSetProportional(RegDraw[i], 1);
TextDrawUseBox(RegDraw[i], 1);
TextDrawBoxColor(RegDraw[i], 70);
TextDrawTextSize(RegDraw[i], 400.000000, 110.000000);
}
Код:
TextDrawShowForPlayer(playerid, RegDraw[playerid]); TextDrawSetString(RegDraw[playerid], "~n~~>~Sexo: ~r~Sin Sexo ~w~Edad: ~r~?~n~~n~~w~Origen: ~r~Sin Origen ~w~Estilo: ~r~?");


