10.12.2014, 18:36
Botei as textdraws em meu GM mais nгo aparecem
No topo do GM:
Na public OnGameModeInit():
e isso na public OnPlayerSpawn(playerid)
Quando entro no servidor elas nгo aparecem =[
Alguem ajuda plz
No topo do GM:
Код:
new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; new Text:Textdraw4; new Text:Textdraw5; new Text:Textdraw6; new Text:Textdraw7; new Text:Textdraw8; new Text:Textdraw9; new Text:Textdraw10; new Text:Textdraw11; new Text:Textdraw12; new Text:Textdraw13; new Text:Textdraw14; new Text:Textdraw15;
Код:
Textdraw0 = TextDrawCreate(564.799804, 427.839904, "www.lostplayers.com.br"); TextDrawLetterSize(Textdraw0, 0.161199, 0.898128); TextDrawTextSize(Textdraw0, -167.200027, -32.106647); TextDrawAlignment(Textdraw0, 1); TextDrawColor(Textdraw0, -1); TextDrawSetShadow(Textdraw0, 0); TextDrawSetOutline(Textdraw0, 1); TextDrawBackgroundColor(Textdraw0, 51); TextDrawFont(Textdraw0, 1); TextDrawSetProportional(Textdraw0, 1); Textdraw1 = TextDrawCreate(567.199707, 412.906921, "LP RPG"); TextDrawLetterSize(Textdraw1, 0.528400, 1.786666); TextDrawAlignment(Textdraw1, 1); TextDrawColor(Textdraw1, -1); TextDrawSetShadow(Textdraw1, 0); TextDrawSetOutline(Textdraw1, 1); TextDrawBackgroundColor(Textdraw1, 51); TextDrawFont(Textdraw1, 1); TextDrawSetProportional(Textdraw1, 1); Textdraw2 = TextDrawCreate(635.599731, 440.540100, "usebox"); TextDrawLetterSize(Textdraw2, 0.000000, -0.559629); TextDrawTextSize(Textdraw2, 560.400085, 0.000000); TextDrawAlignment(Textdraw2, 1); TextDrawColor(Textdraw2, 0); TextDrawUseBox(Textdraw2, true); TextDrawBoxColor(Textdraw2, -86); TextDrawSetShadow(Textdraw2, 0); TextDrawSetOutline(Textdraw2, -40); TextDrawBackgroundColor(Textdraw2, -86); TextDrawFont(Textdraw2, 0); Textdraw3 = TextDrawCreate(635.600097, 415.153381, "usebox"); TextDrawLetterSize(Textdraw3, 0.000000, -0.562592); TextDrawTextSize(Textdraw3, 560.400085, 0.000000); TextDrawAlignment(Textdraw3, 1); TextDrawColor(Textdraw3, 0); TextDrawUseBox(Textdraw3, true); TextDrawBoxColor(Textdraw3, -86); TextDrawSetShadow(Textdraw3, 0); TextDrawSetOutline(Textdraw3, 0); TextDrawFont(Textdraw3, 0); Textdraw4 = TextDrawCreate(569.599975, 401.706665, "~p~00:00:00"); TextDrawLetterSize(Textdraw4, 0.329997, 1.039999); TextDrawAlignment(Textdraw4, 1); TextDrawColor(Textdraw4, -1); TextDrawSetShadow(Textdraw4, 0); TextDrawSetOutline(Textdraw4, 1); TextDrawBackgroundColor(Textdraw4, 51); TextDrawFont(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1); Textdraw5 = TextDrawCreate(637.199890, 365.873596, "usebox"); TextDrawLetterSize(Textdraw5, -0.024000, 0.828221); TextDrawTextSize(Textdraw5, 558.799865, -35.839984); TextDrawAlignment(Textdraw5, 1); TextDrawColor(Textdraw5, 0); TextDrawUseBox(Textdraw5, true); TextDrawBoxColor(Textdraw5, 102); TextDrawSetShadow(Textdraw5, 0); TextDrawSetOutline(Textdraw5, 0); TextDrawFont(Textdraw5, 0); Textdraw6 = TextDrawCreate(563.999816, 335.253295, "hud:radar_burgershot"); TextDrawLetterSize(Textdraw6, 0.000000, 0.000000); TextDrawTextSize(Textdraw6, 10.400016, 9.706650); TextDrawAlignment(Textdraw6, 1); TextDrawColor(Textdraw6, -1); TextDrawSetShadow(Textdraw6, 0); TextDrawSetOutline(Textdraw6, 0); TextDrawFont(Textdraw6, 4); Textdraw7 = TextDrawCreate(632.400024, 338.993347, "usebox"); TextDrawLetterSize(Textdraw7, 0.000000, 0.098145); TextDrawTextSize(Textdraw7, 575.599975, 0.000000); TextDrawAlignment(Textdraw7, 1); TextDrawColor(Textdraw7, 0); TextDrawUseBox(Textdraw7, true); TextDrawBoxColor(Textdraw7, -1300819610); TextDrawSetShadow(Textdraw7, 0); TextDrawSetOutline(Textdraw7, 0); TextDrawFont(Textdraw7, 0); Textdraw8 = TextDrawCreate(563.743041, 351.506591, "hud:radar_datedrink"); TextDrawLetterSize(Textdraw8, 0.000000, 0.000000); TextDrawTextSize(Textdraw8, 11.161904, 8.213338); TextDrawAlignment(Textdraw8, 1); TextDrawColor(Textdraw8, -1); TextDrawSetShadow(Textdraw8, 0); TextDrawSetOutline(Textdraw8, 0); TextDrawFont(Textdraw8, 4); Textdraw9 = TextDrawCreate(564.000183, 364.373321, "hud:radar_school"); TextDrawLetterSize(Textdraw9, 0.000000, 0.000000); TextDrawTextSize(Textdraw9, 11.199997, 9.706661); TextDrawAlignment(Textdraw9, 1); TextDrawColor(Textdraw9, -1); TextDrawSetShadow(Textdraw9, 0); TextDrawSetOutline(Textdraw9, 0); TextDrawFont(Textdraw9, 4); Textdraw10 = TextDrawCreate(637.200012, 350.940124, "usebox"); TextDrawLetterSize(Textdraw10, 0.000000, 0.844811); TextDrawTextSize(Textdraw10, 558.800048, 0.000000); TextDrawAlignment(Textdraw10, 1); TextDrawColor(Textdraw10, 0); TextDrawUseBox(Textdraw10, true); TextDrawBoxColor(Textdraw10, 102); TextDrawSetShadow(Textdraw10, 0); TextDrawSetOutline(Textdraw10, 0); TextDrawFont(Textdraw10, 0); Textdraw11 = TextDrawCreate(637.200012, 334.513427, "usebox"); TextDrawLetterSize(Textdraw11, 0.000000, 1.010740); TextDrawTextSize(Textdraw11, 558.799987, 0.000000); TextDrawAlignment(Textdraw11, 1); TextDrawColor(Textdraw11, -1370419439); TextDrawUseBox(Textdraw11, true); TextDrawBoxColor(Textdraw11, 102); TextDrawSetShadow(Textdraw11, 0); TextDrawSetOutline(Textdraw11, 0); TextDrawFont(Textdraw11, 0); Textdraw12 = TextDrawCreate(581.873107, 353.926757, "usebox"); TextDrawLetterSize(Textdraw12, -0.020800, 0.121375); TextDrawTextSize(Textdraw12, 625.999877, 32.106666); TextDrawAlignment(Textdraw12, 1); TextDrawColor(Textdraw12, 0); TextDrawUseBox(Textdraw12, true); TextDrawBoxColor(Textdraw12, -1040188058); TextDrawSetShadow(Textdraw12, 0); TextDrawSetOutline(Textdraw12, 0); TextDrawFont(Textdraw12, 0); Textdraw13 = TextDrawCreate(632.399780, 368.859954, "usebox"); TextDrawLetterSize(Textdraw13, -0.005599, 0.150409); TextDrawTextSize(Textdraw13, 575.600036, 5.973331); TextDrawAlignment(Textdraw13, 1); TextDrawColor(Textdraw13, 0); TextDrawUseBox(Textdraw13, true); TextDrawBoxColor(Textdraw13, -1441064090); TextDrawSetShadow(Textdraw13, 0); TextDrawSetOutline(Textdraw13, 0); TextDrawFont(Textdraw13, 0); Textdraw14 = TextDrawCreate(464.799926, 333.013153, "~p~Level: ~w~20~n~~p~Estudo: ~w~10~n~~p~Gold's: ~w~0~n~~p~Tipo: ~w~VIP"); TextDrawLetterSize(Textdraw14, 0.428398, 1.189332); TextDrawAlignment(Textdraw14, 1); TextDrawColor(Textdraw14, -1); TextDrawSetShadow(Textdraw14, 0); TextDrawSetOutline(Textdraw14, 1); TextDrawBackgroundColor(Textdraw14, 51); TextDrawFont(Textdraw14, 1); TextDrawSetProportional(Textdraw14, 1); Textdraw15 = TextDrawCreate(598.400024, 314.346679, "~p~UP:~w~00:00"); TextDrawLetterSize(Textdraw15, 0.330000, 1.450665); TextDrawAlignment(Textdraw15, 2); TextDrawColor(Textdraw15, -1); TextDrawSetShadow(Textdraw15, 0); TextDrawSetOutline(Textdraw15, 1); TextDrawBackgroundColor(Textdraw15, 51); TextDrawFont(Textdraw15, 1); TextDrawSetProportional(Textdraw15, 1);
Код:
TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); TextDrawShowForPlayer(playerid, Textdraw12); TextDrawShowForPlayer(playerid, Textdraw13); TextDrawShowForPlayer(playerid, Textdraw14); TextDrawShowForPlayer(playerid, Textdraw15);
Alguem ajuda plz