Posts: 259
Threads: 39
Joined: Jun 2017
Looking for this?
Код:
#include <a_samp>
new Text:Textdraw0[MAX_PLAYERS];
public OnFilterScriptInit()
{
print("Textdraw file generated by");
print(" Zamaroht's textdraw editor was loaded.");
// Create the textdraws:
Textdraw0[playerid] = TextDrawCreate(445.000000, 83.000000, "+223939");
TextDrawBackgroundColor(Textdraw0[playerid], 255);
TextDrawFont(Textdraw0[playerid], 1);
TextDrawLetterSize(Textdraw0[playerid], 0.330000, 1.100000);
TextDrawColor(Textdraw0[playerid], 563163903);
TextDrawSetOutline(Textdraw0[playerid], 0);
TextDrawSetProportional(Textdraw0[playerid], 1);
TextDrawSetShadow(Textdraw0[playerid], 1);
TextDrawSetSelectable(Textdraw0[playerid], 0);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw0[playerid]);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
return 1;
}