shanapu / overlays.inc

sourcemod include for easy screen overlays

Home Page:https://forums.alliedmods.net/showthread.php?t=298248

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[INC] Overlays

there are three stock functions and a timer:

Precache & prepare download for overlays & decals

stock void PrecacheDecalAnyDownload(char[] sOverlay);

Show overlay to a client with lifetime | 0.0 = no auto remove

stock void ShowOverlay(int client, char[] path, float lifetime);

Show overlay to all clients with lifetime | 0.0 = no auto remove

stock void ShowOverlayAll(char[] path, float lifetime);

Timer! - Remove overlay from a client - Timer!

stock Action DeleteOverlay(Handle timer, any client);

For more info & comments take a look at overlays_plugin_example.sp

About

sourcemod include for easy screen overlays

https://forums.alliedmods.net/showthread.php?t=298248

License:GNU General Public License v3.0


Languages

Language:SourcePawn 100.0%