Jump to content
  • 0

Problema chat gobal


MCTechz

Question

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
Link to comment
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.

Link to comment
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
Link to comment
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);
	

Link to comment
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
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.