Jump to content
  • 0
Sign in to follow this  
MCTechz

Problema chat gobal

Question

Salut,ma puteti ajuta cu cv?

Cand deschid un crate de ex:leg crate sa apare pe chatul gobal cam asa cv:

(Crate System)%s a deschis un leg crate si a primit %d(premiul).

Daca ma puteti ajuta va sunt recunascator.

Edited by MCTechz

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0
18 minutes ago, HPQ123 said:

SendClientMessageToAll cv de genu

Este corect asa?

                            SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un premium crate si a primit %s"); GetName(playerid);
                            if(CrateType == 1) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un legendary crate si a primit %s"); GetName(playerid);
                            if(CrateType == 2) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un mytic crate si a primit %s"); GetName(playerid);
                            if(CrateType == 3) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un transcendent crate si a primit %s"); GetName(playerid);                                                        
 

Edited by MCTechz
edit

Share this post


Link to post
Share on other sites
  • 0
Acum 32 minute, MCTechz a spus:

Este corect asa?

                            SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un premium crate si a primit %s"); GetName(playerid);
                            if(CrateType == 1) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un legendary crate si a primit %s"); GetName(playerid);
                            if(CrateType == 2) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un mytic crate si a primit %s"); GetName(playerid);
                            if(CrateType == 3) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un transcendent crate si a primit %s"); GetName(playerid);                                                        
 

Nu știu, testează și vezi tu singur.

Share this post


Link to post
Share on other sites
  • 0
Acum 51 minute, MCTechz a spus:

Este corect asa?

                            SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un premium crate si a primit %s"); GetName(playerid);
                            if(CrateType == 1) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un legendary crate si a primit %s"); GetName(playerid);
                            if(CrateType == 2) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un mytic crate si a primit %s"); GetName(playerid);
                            if(CrateType == 3) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un transcendent crate si a primit %s"); GetName(playerid);                                                        
 

Nu.

Fa asa:

new string[144];

format(string, sizeof(string), "%s a deschis un premium crate si a primit %s", GetName(playerid)), SendClientMessageToAll(COLOR_DBLUE, string);

Scuze pentru aranjare, sunt pe telefon. Fa asa la fiecare in parte.

Edited by BaFFyJunior

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, MCTechz said:

Este corect asa?

                            SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un premium crate si a primit %s"); GetName(playerid);
                            if(CrateType == 1) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un legendary crate si a primit %s"); GetName(playerid);
                            if(CrateType == 2) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un mytic crate si a primit %s"); GetName(playerid);
                            if(CrateType == 3) SendClientMessageToAll(COLOR_DBLUE, "(Crate System)%s a deschis un transcendent crate si a primit %s"); GetName(playerid);                                                        
 

Nu, nu prea este.

Exemplu:

	new string[144];
	format(string, sizeof(string), "%s a deschis un premium crate si a primit %s", GetName(playerid), -variabila pt suma castigata-);
	SendClientMessageToAll(COLOR_DBLUE, string);
	

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Seghedi Robert said:

Nu, nu prea este.

Exemplu:

 


	new string[144];
	format(string, sizeof(string), "%s a deschis un premium crate si a primit %s", GetName(playerid), -variabila pt suma castigata-);
	SendClientMessageToAll(COLOR_DBLUE, string);
	

 

Multumes chiar mai ajutat.

Edited by MCTechz
edit

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.