View Single Post
Kamizun
AlliedModders Donor
Join Date: May 2015
Location: Portugal
Old 11-30-2015 , 12:45   Re: [CS:GO] looking FAKE opencase in server
Reply With Quote #64

Sorry for that, it's the first time im helping someone on AlliedModders.
So in this version i changed flag GENERIC(B) to ROOT(Z)
I changed from colorvariables.inc to morecolors.inc
Then in the .sp file i changed
Code:
	Format(buffer, sizeof(buffer), "%T", "Butterfly knife", LANG_SERVER);
	menu.AddItem("Butterfly knife", buffer);
To
Code:
	Format(buffer, sizeof(buffer), "%T", "Butterfly", LANG_SERVER);
	menu.AddItem("Butterfly", buffer);
Then changed on the translation file
Code:
	"Butterfly knife"
	{
		"en"		"Butterfly knife"
	}
To
Code:
	"Butterfly"
	{
		"en"		"Butterfly knife"
	}
Back to the .sp file i changed
Code:
				CPrintToChat(i, "{player %d}%s{default} %s {red}%s", param1, name, buffer3, buffer);
To
Code:
				CPrintToChat(i, "%s{default} %s \x07%s", name, buffer3, buffer);
With this I fixed the problem with the translation file and the color.
Hope i helped you and sorry for anything i did wrong ;)
Attached Files
File Type: zip fakecase.zip (20.8 KB, 264 views)
Kamizun is offline