Jump to content
  • 0

pomoc TextDraw


Paulo*

Dotaz

Zdravim neviem si poradiť z jednym textdrawom ..

Potrebujem aby sa po conecte zobrazovali jednotlive textdrawy(spirites) a po logu zmyzli .. Povodne som si to aj takto spravil ale problem mam stym ze sa neobrazia..

Tu mam kod:

 

new LoadScreen[] = {
"LOADSUK:loadsc1",
"LOADSUK:loadsc2"
};

new Text:Sprite0;

public OnGameModeInit()
{
Sprite0 = TextDrawCreate(-0.500, -0.500,LoadScreen[random(sizeof(LoadScreen))]);
TextDrawFont(Sprite0, 4);
TextDrawTextSize(Sprite0, 641.500, 448.000);
TextDrawColor(Sprite0, -1);
return 1;
}
OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Text:Sprite0);
return 1;
}

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0

Nemá to být náhodou takto ?

TextDrawShowForPlayer(playerid,Text:splite0);

 

to je jedno či je to takto TextDrawShowForPlayer(playerid,Text:splite0); alebo takto TextDrawShowForPlayer(playerid,splite0); daj si do connect toto TextDrawShowForPlayer(playerid,Text:splite0); a do dialogresponse kde štikneš vlastne že login daj TextDrawHideForPlayer(playerid,Text:splite0);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...