24.12.2010, 02:11
pawn Код:
#include <a_samp>
new Text:Textdraw0;
public OnGameModeInit()
{
Textdraw0 = TextDrawCreate(30.000000, 322.000000, "http://lsddrift.blogspot.com");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.260000, 1.600000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
return 1;
}
public OnGameModeExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
TextDrawHideForPlayer(playerid, Textdraw0);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw0);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}