项目作者: shanapu

项目描述 :
sourcemod include for easy screen overlays
高级语言: SourcePawn
项目地址: git://github.com/shanapu/overlays.inc.git
创建时间: 2016-12-04T22:44:14Z
项目社区:https://github.com/shanapu/overlays.inc

开源协议:GNU General Public License v3.0

下载


[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