Jump to content
  • 0

textdraw


Fk...

Question

2 answers to this question

Recommended Posts

la forward adaugi:

forward TextdrawColorChange();
adaugi la sfarsitul modului
public TextdrawColorChange()
{
  new Colors[] = { 0x00ff0099, 0x5E5A80FF, 0x157DECFF , 0x9E7BFFFF , 0x659EC7FF , 0xF778A1FF , 0x43C6DBFF , 0xC9BE62FF , 0xFBB117FF, 0xC11B17FF, 0xFBBBB9FF };
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
  	TextDrawHideForPlayer(i,Textdraw0); 
  	TextDrawColor(Textdraw0,Colors[random(sizeof(Colors))]);
  	TextDrawShowForPlayer(i,Textdraw0);
  }
  SetTimer("TextdrawColorChange", 60000, 0);
}

TextDraw0 schimbi cu textdraw-ul tau

Link to comment
Share on other sites

Guest farse

Cum a zis heker,sau poti folosi in string culori,gen ~r~,~g~ http://wiki.sa-mp.com/wiki/Colors_List

public TextdrawColorChange()
{
  new Colors[] = { 0x00ff0099, 0x5E5A80FF, 0x157DECFF , 0x9E7BFFFF , 0x659EC7FF , 0xF778A1FF , 0x43C6DBFF , 0xC9BE62FF , 0xFBB117FF, 0xC11B17FF, 0xFBBBB9FF };
TextDrawSetString(Textdraw0,"We ~r~ love ~g~ to ~p~ entertainment~b~ you!");
  SetTimer("TextdrawColorChange", 60000, 0);
}

Si daca vrei sa folosesti versiunea lui heker,exista TextDrawHideForAll...
public TextdrawColorChange()
{
  new Colors[] = { 0x00ff0099, 0x5E5A80FF, 0x157DECFF , 0x9E7BFFFF , 0x659EC7FF , 0xF778A1FF , 0x43C6DBFF , 0xC9BE62FF , 0xFBB117FF, 0xC11B17FF, 0xFBBBB9FF };
  	TextDrawHideForAll(Textdraw0); 
  	TextDrawColor(Textdraw0,Colors[random(sizeof(Colors))]);
  	TextDrawShowForAll(Textdraw0);
  SetTimer("TextdrawColorChange", 60000, 0);
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.