17.05.2016, 06:38
hello i have problem with textdrawsetstring .
this is textdraw script
BSText1 = TextDrawCreate(464.000000, 340.000000, " ");
TextDrawBackgroundColor(BSText1, 255);
TextDrawFont(BSText1, 0);
TextDrawLetterSize(BSText1, 0.500000, 1.000000);
TextDrawColor(BSText1, -1);
TextDrawSetOutline(BSText1, 0);
TextDrawSetProportional(BSText1, 1);
TextDrawSetShadow(BSText1, 1);
TextDrawSetSelectable(BSText1, 0);
That textdraw is for Name Box Define .
and i try to add
forward InfosPlayer(playerid);
public InfosPlayer(playerid)
{
new string[128];
new Pname[64];
GetPlayerName(playerid,Pname,sizeof(Pname));
format(string, sizeof (string), "%s", Pname);
TextDrawSetString(BSText1, string);
}
and textdrawshowforplayer already added . and try to compile . no error...
and i try to check INGame textdraw is showed but no name / word showed .
how to fix thiss pls help .
thx
this is textdraw script
BSText1 = TextDrawCreate(464.000000, 340.000000, " ");
TextDrawBackgroundColor(BSText1, 255);
TextDrawFont(BSText1, 0);
TextDrawLetterSize(BSText1, 0.500000, 1.000000);
TextDrawColor(BSText1, -1);
TextDrawSetOutline(BSText1, 0);
TextDrawSetProportional(BSText1, 1);
TextDrawSetShadow(BSText1, 1);
TextDrawSetSelectable(BSText1, 0);
That textdraw is for Name Box Define .
and i try to add
forward InfosPlayer(playerid);
public InfosPlayer(playerid)
{
new string[128];
new Pname[64];
GetPlayerName(playerid,Pname,sizeof(Pname));
format(string, sizeof (string), "%s", Pname);
TextDrawSetString(BSText1, string);
}
and textdrawshowforplayer already added . and try to compile . no error...
and i try to check INGame textdraw is showed but no name / word showed .
how to fix thiss pls help .
thx