Witam
Mam problem z wyświetlaniem tagów na arenie mianowicie wygenerowałem sobie vipa, który ma za zadanie tylko dodawać prefixy w tabeli i na czacie niestety dany plugin tego nie robi
#include <sourcemod> #include <sdktools> #include <cstrike> #include <sdkhooks> #include <scp> public Plugin:myinfo = { name = "VIP Generator", author = "mastah7991", description = "Automatycznie wygenerowany VIP", version = "1.0", url = "www.MyGo.pl" } public OnPluginStart() { } public OnClientPutInServer(client) { if(IsValidPlayer(client)&&GetUserFlagBits(client)&(1<<ADMFLAG_CUSTOM6)) { CS_SetClientClanTag(client, "[VIP]"); char name[32]; GetClientName(client,name,31); PrintToChatAll("Vip %s wszedl na serwer",name); } } public Action:OnChatMessage(&author, Handle:recipients, String:name[], String:message[]) { if(IsValidPlayer(author)&&GetUserFlagBits(author)&(1<<ADMFLAG_CUSTOM6)) { Format(name, MAXLENGTH_NAME, "%s", name); new MaxMessageLength = MAXLENGTH_MESSAGE - strlen(name) - 5; Format(name, MaxMessageLength, " [VIP]%s",name); return Plugin_Changed; } return Plugin_Continue; } stock bool IsValidPlayer(client) { if(client >= 1 && client <= MaxClients && IsClientConnected(client) && !IsFakeClient(client) && IsClientInGame(client) ) return true; return false; }