SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Romānă/Romanian

 
 
Thread Tools Display Modes
Old 19/08/2011, 07:52 PM   #1
tsubasa11
Big Clucker
 
Join Date: Jan 2011
Posts: 138
Reputation: 1
Default Am si eu o intrebare .

Intrebarea mea este :

1. Cum pot sa schimb culoarea unor litere intr-un dialog (fereastra) , ca de exemplu in imaginea asta este rosu?
2. Cum pot sa scriu intr-un rand nou , sau sa las un rand liber ca in imagine , pentru ca \n nu merge nici ~n~ ?

Imaginea:



http://i41.servimg.com/u/f41/14/61/48/23/samp10.png



APROPO : + REP CINE DA RASPUNS FOLOSITOR
tsubasa11 is offline  
Old 20/08/2011, 06:41 AM   #2
mR.SpriTes
Big Clucker
 
mR.SpriTes's Avatar
 
Join Date: Jul 2011
Location: Romania
Posts: 55
Reputation: 0
Default Re: Am si eu o intrebare .

1. http://www.sa-mp.ro/forum/index.php/topic,7565.0.html

2.
PHP Code:
new loginstring[200];
format(loginstring,sizeof(loginstring),"{FFFFFF}Welcome back,\n \n{FFFFFF}Please enter your password below to login your account
ShowPlayerDialog(playerid,1ID DIALOG,DIALOG_STYLE_INPUT,"
Login",loginstring,"Login","Quit"); 
Doar exemplu nu tiam facut text-ul astea iti cauti culoare si restu
mR.SpriTes is offline  
Old 21/08/2011, 01:27 PM   #3
tsubasa11
Big Clucker
 
Join Date: Jan 2011
Posts: 138
Reputation: 1
Default Re: Am si eu o intrebare .

Multumesc mR.Sprites asa cum am promis rep++;
tsubasa11 is offline  
Old 21/08/2011, 07:52 PM   #4
Stefan_Toretto
Huge Clucker
 
Join Date: Apr 2010
Location: Romania
Posts: 345
Reputation: 0
Default Re: Am si eu o intrebare .

Quote:
Originally Posted by mR.SpriTes View Post
1. http://www.sa-mp.ro/forum/index.php/topic,7565.0.html

2.
PHP Code:
new loginstring[200];
format(loginstring,sizeof(loginstring),"{FFFFFF}Welcome back,\n \n{FFFFFF}Please enter your password below to login your account
ShowPlayerDialog(playerid,1ID DIALOG,DIALOG_STYLE_INPUT,"
Login",loginstring,"Login","Quit"); 
Doar exemplu nu tiam facut text-ul astea iti cauti culoare si restu
Maestre de ce a fost nevoie sa formatezi textul? sa consume mai multa memorie? asta se intampla cand inveti scripting pe modul GodFather!
__________________
Code:
mysql_query("DELETE `stupidity` FROM `earth`") OR die("idiots");
Stefan_Toretto is offline  
Old 22/08/2011, 06:50 AM   #5
[NoV]LaZ
High-roller
 
Join Date: May 2008
Posts: 1,471
Reputation: 90
Default Re: Am si eu o intrebare .

Are nevoie de format daca face ceva de genul:
Code:
Welcome back, <nume>
Codul lui nu-l complet.
__________________

Thank you for playing!

It is back online! 176.31.69.249:7799
[NoV]LaZ is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.