Solved.
It's not working, I want to show a permanent banner to all users when they enter the server.
Include:
https://forums.alliedmods.net/showthread.php?t=298248
PHP Code:
//Includes
#include <sourcemod>
#include <sdktools> //need for adding files to download table
#include <overlays>
//Compiler Options //Optional, but please keep your code clean!
#pragma semicolon 1
#pragma newdecls required
//use a define or if needed (for cvars) a string
#define OVERLAYPATH "amsgamers/overlay" //Path to the overlay relative to materials/.. - no need for extentions like .vmt or .vft
public Plugin myinfo = {
name = "AmS LOGO",
author = "AmS` SkY#IN",
description = "Shows AmS BAnner",
version = "0.1",
url = "http://www.amsgaming.in"
};
public void OnMapStart()
{
PrecacheDecalAnyDownload(OVERLAYPATH);
}
public void OnClientPutInServer(int client)
{
ShowOverlay(client, OVERLAYPATH, 0.0);
}
__________________