Jump to content
  • 0

Question

Posted

Vreau sa fac un chat în care sa poată scrie toată lumea și să vadă, dar nu știu cum. Ma ajuta cineva?

Nu e neapărat să îmi dai tot scriptul, daca îmi explici mă prind repede. 

4 answers to this question

Recommended Posts

  • 0
Posted
YCMD:chatultau(playerid, params[], help) {

	if(isnull(params)) 
      return SendClientMessage(playerid, -1, "/chatutau [message]");
  
	new message[128], username[MAX_PLAYER_NAME];
	GetPlayerName(playerid, username, MAX_PLAYER_NAME);

	format(message, 128, "(chat) %s: %s", username, params), SendClientMessageToAll(-1, message);
	return 1;
}

 

  • 0
Posted
Acum 11 ore, L0K3D a spus:

YCMD:chatultau(playerid, params[], help) {

	if(isnull(params)) 
      return SendClientMessage(playerid, -1, "/chatutau [message]");
  
	new message[128], username[MAX_PLAYER_NAME];
	GetPlayerName(playerid, username, MAX_PLAYER_NAME);

	format(message, 128, "(chat) %s: %s", username, params), SendClientMessageToAll(-1, message);
	return 1;
}

Comanda e la fel daca am zcmd?

 

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.