15.02.2015, 15:29
pawn Код:
#include <a_samp>
new Text:Textdraw0;
//
public OnFilterScriptInit() //se for colocar no gm troque por ongamemodeinit
{
Textdraw0 = TextDrawCreate(650.000000, 2.000000, "_");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 1.100000, 50.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, -16776961);
TextDrawTextSize(Textdraw0, -10.000000, 60.000000);
return 1;
}
public OnFilterScriptExit() //se for para mudar para o gm troque por ongamemodeexit
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
TextDrawShowForPlayer(playerid,Textdraw0); //fara aparecer a texdraw
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid,Textdraw0); //fara sumir a texdraw
return 1; // ou return true < da no mesmo do mesmo modo que return 0 = return false.
}
Veja se o textdraw й da tela completa, se realmente for, mude a cor dela para vermelho e coloque os crйditos do criador.