//===============================Gamemode Start=================================
public OnGameModeInit()
{
//------------------------------------Welcome : Textdraw -----------------------
new Text:Textdraw1;
// In OnGameModeInit
Textdraw1 = TextDrawCreate(436 ,363 , "Crazy World");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1, 7);
TextDrawColor(Textdraw1 , 0xff00bbFF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
// In OnGameModeInit
Textdraw1 = TextDrawCreate(436 ,363 , "Crazy World");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1, 7);
TextDrawColor(Textdraw1 , 0xff00bbFF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
//You need this :>
TextDrawShowForAll(Textdraw1);
public OnGameModeInit()
{
//------------------------------------Welcome : Textdraw -----------------------
new Text:Textdraw1;
// In OnGameModeInit
Textdraw1 = TextDrawCreate(436 ,363 , "Crazy World");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1, 7);
TextDrawColor(Textdraw1 , 0xff00bbFF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw1); // ---> to show the textdraw when a player connect :
return 1;
}
pawn Код:
|
new Text:Textdraw1;