View Single Post
Author Message
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 03-20-2020 , 04:19   [REQ] Closed Hud Message By the player
Reply With Quote #1

I want a plugin that allows each player to disable their message

For example, this code is active for up to 40 seconds
PHP Code:
public plugin_init()
{
            
RegisterHam(Ham_Spawn"player""ads"1
}

public 
ads(id)
{
            
set_hudmessage(00255, -1.00.2906.040.0);
        
show_hudmessage(id"Welcom To Public Server^nAds: xxxx^nxxxxxx^nxxxxxx");

Ten seconds until it is deactivated, the player type (say /messagestop) and the message is closed
alferd is offline