13.01.2014, 14:10
anyone can help me to create like this ?
#include <a_samp>
new Text:Textdraw0;
new Text:Textdraw1;
public OnGameModeInit()
{
Textdraw0 = TextDrawCreate(543.000000, 85.000000, ",");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.700000);
TextDrawColor(Textdraw0, 560737023);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetSelectable(Textdraw0, 0);
Textdraw1 = TextDrawCreate(578.000000, 85.000000, ",");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 1.700000);
TextDrawColor(Textdraw1, 560737023);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetSelectable(Textdraw1, 0);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
}
}
return 1;
}
public OnGameModeExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
return 1;
}
Textdraws I guess? With https://sampwiki.blast.hk/wiki/TextDrawSetOutline to get the black outline. And no I won't create the code for you. Textdraws are already too annoying for me.
|