exc4libur
03-08-2016, 05:13
Hello,
i tried to to get the used clantag from a client but that doesn't seem to work.
public void OnClientPutInServer(int client)
{
CS_GetClientClanTag(client, g_ClanTag[client], CLANTAG_LENGTH);
CS_SetClientClanTag(client, "Test");
PrintToChatAll("Clantag: %s", g_ClanTag[client]);
LogToFile("testdatei.cfg", "Clantag: %s", g_ClanTag[client]);
}
The only thing i get is following:
L 03/08/2016 - 11:05:43: [restrict_new.smx] Clantag:
Although i use one like [Clanxyz]<player>. Question: Are the clantag and grouptag different things?
i tried to to get the used clantag from a client but that doesn't seem to work.
public void OnClientPutInServer(int client)
{
CS_GetClientClanTag(client, g_ClanTag[client], CLANTAG_LENGTH);
CS_SetClientClanTag(client, "Test");
PrintToChatAll("Clantag: %s", g_ClanTag[client]);
LogToFile("testdatei.cfg", "Clantag: %s", g_ClanTag[client]);
}
The only thing i get is following:
L 03/08/2016 - 11:05:43: [restrict_new.smx] Clantag:
Although i use one like [Clanxyz]<player>. Question: Are the clantag and grouptag different things?