07.06.2014, 01:53
Coloque isso no topo do gm , onde estб as new
Procure pela public OnPlayerConnect e coloque isso dentro dessa public
Procure pela public OnPlayerSpawn e coloque isso dentro da public
Procure pela public OnPlayerDeath e coloque isso dentro da public
Simples n ? cк й iniciante mas pra fazer isso tem que saber lк pelo menos
pawn Код:
new PlayerText:Textdraw0;
new PlayerText:Textdraw1;
new PlayerText:Textdraw2;
new PlayerText:Textdraw3;
new PlayerText:Textdraw4;
pawn Код:
Textdraw0 = CreatePlayerTextDraw(playerid,321.000000, 2.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw0, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
PlayerTextDrawFont(playerid,Textdraw0, 1);
PlayerTextDrawLetterSize(playerid,Textdraw0, 0.529999, 12.400011);
PlayerTextDrawColor(playerid,Textdraw0, -1);
PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
PlayerTextDrawUseBox(playerid,Textdraw0, 1);
PlayerTextDrawBoxColor(playerid,Textdraw0, -1835822029);
PlayerTextDrawTextSize(playerid,Textdraw0, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
Textdraw1 = CreatePlayerTextDraw(playerid,321.000000, 143.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw1, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
PlayerTextDrawFont(playerid,Textdraw1, 1);
PlayerTextDrawLetterSize(playerid,Textdraw1, 0.529999, 5.199996);
PlayerTextDrawColor(playerid,Textdraw1, -1);
PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
PlayerTextDrawUseBox(playerid,Textdraw1, 1);
PlayerTextDrawBoxColor(playerid,Textdraw1, -1835821961);
PlayerTextDrawTextSize(playerid,Textdraw1, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
Textdraw2 = CreatePlayerTextDraw(playerid,235.000000, 208.000000, "Se Fudeu !");
PlayerTextDrawBackgroundColor(playerid,Textdraw2, 102);
PlayerTextDrawFont(playerid,Textdraw2, 3);
PlayerTextDrawLetterSize(playerid,Textdraw2, 1.329998, 4.699996);
PlayerTextDrawColor(playerid,Textdraw2, -16776961);
PlayerTextDrawSetOutline(playerid,Textdraw2, 1);
PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
Textdraw3 = CreatePlayerTextDraw(playerid,321.000000, 139.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw3, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw3, 255);
PlayerTextDrawFont(playerid,Textdraw3, 1);
PlayerTextDrawLetterSize(playerid,Textdraw3, 0.529999, -0.000000);
PlayerTextDrawColor(playerid,Textdraw3, -1);
PlayerTextDrawSetOutline(playerid,Textdraw3, 0);
PlayerTextDrawSetProportional(playerid,Textdraw3, 1);
PlayerTextDrawSetShadow(playerid,Textdraw3, 1);
PlayerTextDrawUseBox(playerid,Textdraw3, 1);
PlayerTextDrawBoxColor(playerid,Textdraw3, -16776961);
PlayerTextDrawTextSize(playerid,Textdraw3, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw3, 0);
Textdraw4 = CreatePlayerTextDraw(playerid,321.000000, 335.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw4, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw4, 255);
PlayerTextDrawFont(playerid,Textdraw4, 1);
PlayerTextDrawLetterSize(playerid,Textdraw4, 0.529999, -0.000000);
PlayerTextDrawColor(playerid,Textdraw4, -1);
PlayerTextDrawSetOutline(playerid,Textdraw4, 0);
PlayerTextDrawSetProportional(playerid,Textdraw4, 1);
PlayerTextDrawSetShadow(playerid,Textdraw4, 1);
PlayerTextDrawUseBox(playerid,Textdraw4, 1);
PlayerTextDrawBoxColor(playerid,Textdraw4, -16776961);
PlayerTextDrawTextSize(playerid,Textdraw4, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw4, 0);
pawn Код:
PlayerTextDrawHide(playerid, PlayerText:Textdraw0);
PlayerTextDrawHide(playerid, PlayerText:Textdraw1);
PlayerTextDrawHide(playerid, PlayerText:Textdraw2);
PlayerTextDrawHide(playerid, PlayerText:Textdraw3);
PlayerTextDrawHide(playerid, PlayerText:Textdraw4);
pawn Код:
PlayerTextDrawShow(playerid, PlayerText:Textdraw0);
PlayerTextDrawShow(playerid, PlayerText:Textdraw1);
PlayerTextDrawShow(playerid, PlayerText:Textdraw2);
PlayerTextDrawShow(playerid, PlayerText:Textdraw3);
PlayerTextDrawShow(playerid, PlayerText:Textdraw4);