20.03.2012, 18:25
No Inicio no seu GM Crie esta New :
Logo Apуs , Ponha Isto em seu OnGameModeInit :
E Por Ultimo , em seu OnPlayerConnect , Ponha Isto :
pawn Код:
new Text:Textdrawinfo;
pawn Код:
Textdrawinfo= TextDrawCreate(1.0, 433.0, "Texto");
TextDrawAlignment(Textdrawinfo,0);
TextDrawUseBox(Textdrawinfo,2);
TextDrawBackgroundColor(Textdrawinfo,0x000000FF);
TextDrawFont(Textdrawinfo,2);
TextDrawLetterSize(Textdrawinfo,0.2900, 1.4);
TextDrawBoxColor(Textdrawinfo,0x00000050);
TextDrawColor(Textdrawinfo, 0xFFFFFFFF);
TextDrawSetOutline(Textdrawinfo,1);
TextDrawSetProportional(Textdrawinfo,1);
TextDrawSetShadow(Textdrawinfo,1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdrawinfo);
}
}
pawn Код:
TextDrawShowForPlayer(playerid, Textdrawinfo);