Colorare translate

Dacă deții un server dedicat și ai o problemă cu acesta, poți întreba în această categorie cum se rezolvă problema respectivă.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
Oconasu
Membru, skill 0
Membru, skill 0
Posts: 58
Joined: 11 Aug 2018, 17:46
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

23 Sep 2018, 01:06

salut, stie cineva de ce nu pot colora fisierele din translate?

Am bagat #include <multicolors> in pluginul pe care vreau sa il colorez, apoi am mers in fisierul translate si am pus codul {green} text... Am intrat in joc si nu s-a intamplat nimic.

Stie cineva ce am gresit?
Fac orice plugin pentru CSGO la comandă.
Dă-mi PM dacă vrei să colaborăm
RoyalServer
User avatar
PorcusorulMagic
Membru, skill +1
Membru, skill +1
Posts: 289
Joined: 12 Sep 2017, 17:41
Detinator Steam: Da
CS Status: Groh
Detinator server CS: ARENA.USP.RO
SteamID: STEAM_0:0:102123053
Fond eXtream: 0
Location: Piatra Neamt
Has thanked: 4 times
Contact:

23 Sep 2018, 10:09

Cred ca trebuia sa pui si #include <colors> , si vezi daca ai colors.inc si multicolors.inc in folderul Include
User avatar
TheOne1812
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 403
Joined: 13 Apr 2018, 23:57
Detinator Steam: Da
CS Status: kRatoss#9725 @ Discord
Detinator server CS: go.strix.ro
SteamID: STEAM_0:1:65095681
Fond eXtream: 0
Location: www.strix.ro
Has thanked: 29 times
Been thanked: 17 times

23 Sep 2018, 14:48

ca sa folosești {green} îți trebuie #include <colorsvariables> si modifici din PrintToChat in CPrintToChat
╔═════ DETINATOR SI DEVELOPER ═════╗
GO.STRIX.RO
Oconasu
Membru, skill 0
Membru, skill 0
Posts: 58
Joined: 11 Aug 2018, 17:46
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

23 Sep 2018, 15:01

TheOne1812 wrote:ca sa folosești {green} îți trebuie #include <colorsvariables> si modifici din PrintToChat in CPrintToChat
Am facut cum ai spus tu, dar in loc de print am pus CShowActivity2 si acum nu mai afiseaza text-ul in joc.

Vreau sa colorez sbpp_comms


Edit: Am reusit pana la urmă, doar ca imi apare codul de la culoare in chat.
Image
am folosit include morecolors

Code: Select all

stock CShowActivity2(client, const String:tag[], const String:message[], any:...) {

	CCheckTrie();
	if(client <= 0 || client > MaxClients) {
		ThrowError("Invalid client index %i", client);
	}
	if(!IsClientInGame(client)) {
		ThrowError("Client %i is not in game", client);
	}
	decl String:buffer[MAX_BUFFER_LENGTH], String:buffer2[MAX_BUFFER_LENGTH];
	SetGlobalTransTarget(client);
	Format(buffer, sizeof(buffer), "\x01%s", message);
	VFormat(buffer2, sizeof(buffer2), buffer, 4);
	CReplaceColorCodes(buffer2);
	strcopy(buffer, sizeof(buffer), tag);
	CReplaceColorCodes(buffer);
	ShowActivity2(client, buffer, "%s", buffer2);
	
}
Fac orice plugin pentru CSGO la comandă.
Dă-mi PM dacă vrei să colaborăm
User avatar
TheOne1812
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 403
Joined: 13 Apr 2018, 23:57
Detinator Steam: Da
CS Status: kRatoss#9725 @ Discord
Detinator server CS: go.strix.ro
SteamID: STEAM_0:1:65095681
Fond eXtream: 0
Location: www.strix.ro
Has thanked: 29 times
Been thanked: 17 times

23 Sep 2018, 22:30

încearcă sa pui spațiu între cuvânt si { sau sa ilocuiesti {red} cu {darkred}
eu totuși recomand sourcecomms decât cel debla sbpp chit că nu ai partea web
╔═════ DETINATOR SI DEVELOPER ═════╗
GO.STRIX.RO
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike: Global Offensive”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests