Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Problema textdraw


Question

Posted (edited)

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

7 answers to this question

Recommended Posts

  • 0
Posted
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
  • 0
Posted
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);

  • 0
Posted
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

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

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.