Jump to content
  • 0

TextDraw Wanted


SaSWeB12

Question

Va salut , cu stima si respect SaS de pe Qz , am si eu o problema la TextDraw wanted , cum il fac sa il adauge unul sub altul , trebuie include sau ceva ? Am facut eu cate ceva...

 

 

  1. new Text:TextdrawSuspect[MAX_PLAYERS];
  2.  
  3. if(WantedLevel[i] > 0)
  4. {
  5.    new wstring[256];
  6.     format(wstring, sizeof(wstring), "[iD:%d] %s - [W%d]~n~", i,PlayerName(i),WantedLevel[i]);
  7.       TextDrawSetString(TextdrawSuspect[i],wstring);
  8. }
  9.  
  10. for(new i=0; i<MAX_PLAYERS; i++)
  11. {
  12.       TextdrawSuspect[i] = TextDrawCreate(606.000000, 160.000000, "");
  13. TextDrawAlignment(TextdrawSuspect[i], 3);
  14. TextDrawBackgroundColor(TextdrawSuspect[i], 255);
  15. TextDrawFont(TextdrawSuspect[i], 1);
  16. TextDrawLetterSize(TextdrawSuspect[i], 0.260000, 1.700000);
  17. TextDrawColor(TextdrawSuspect[i], 0xFFFFFFFF);
  18. TextDrawSetOutline(TextdrawSuspect[i], 0);
  19. TextDrawSetProportional(TextdrawSuspect[i], 1);
  20. TextDrawSetShadow(TextdrawSuspect[i], 1);
  21. }
  22.  
  23.  
  24.    TextDrawShowForPlayer(playerid,TextdrawSuspect[i]);

Tin sa va spun ca as dorii sa il pun putin mai jos de bani sa scrie :

Wanted List :
x Wanted Level x
y Wanted Level y

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.