Jump to content
  • 0

Problema textdraw


Rayan

Question

Salut, am incercat sa fac un box pentru payday, insa cand incerc sa scriu un mesaj sa setez un string nu merge..nu apare textul, apare doar box-ul gol.

format(string, sizeof(string), "Bani: $%s~n~Interes: $%s", Form(bani), Form(interes));
	TextDrawSetString(boxPAYDAY, string);
                    TextDrawShowForPlayer(i, boxPAYDAY);
Edited by Rayan
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Textdrawul tau este creat doar ca box nu pentru nume, trebuie modificat

http://wiki.sa-mp.com/wiki/TextDrawUseBox

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
7 hours ago, Rayan said:

am si la alte box-uri acel TextDrawUseBox fiind pe 'true', si la acelea merge sa pun text, la asta de ce nu pot? cum as putea rezolva?

De ce nu copiezi acele textdrawuri care tu zici ca iti merg? doar schimbi numele

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
La 11/6/2017 la 22:53, Mister a spus:

De ce nu copiezi acele textdrawuri care tu zici ca iti merg? doar schimbi numele

Il am in alta parte gen pe asta de la payday apare in stanga iar celalalt e pt joburi (in dreapta). Respectivu e pt playeri iar asta pt payday e global, insa nu inteleg ce e gresit, asa am si la celelalte TextDrawUseBox pe true si nu stiu ce are, textul nu apare deloc. am incercat si asa 

iar textul nu apare deloc, e invizibil practic

format(string3, sizeof(string3), "~w~payday arrived");
                    TextDrawSetString(boxPAYDAY, string3);
                    TextDrawShowForPlayer(i, boxPAYDAY);

Link to comment
Share on other sites

  • 0
Acum 3 ore, Rayan a spus:

 


format(string3, sizeof(string3), "~w~payday arrived");
                    TextDrawSetString(boxPAYDAY, string3);
                    TextDrawShowForPlayer(i, boxPAYDAY);

 

format(string3, sizeof(string3), "~w~payday arrived", Stock[numar][payName] );//de exenplu poti adauga asa sau lasi asa cum este 
                    TextDrawSetString(playerid, boxPAYDAY, string3);
                   TextDrawSetString(i, boxPAYDAY[i], string3);
                   //sau 
                  PlayerTextDrawSetString(playerid, boxPAYDAY[playerid], string3);

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.