Thread: Tag Mismatch
View Single Post
nomy
Senior Member
Join Date: Dec 2009
Location: United Kingdom
Old 01-27-2015 , 20:33   Re: Tag Mismatch
Reply With Quote #2

PHP Code:
#pragma semicolon 1
#include <sourcemod>

new Handle:hHudText INVALID_HANDLE;

public 
OnPluginStart()
{
    
RegServerCmd("livee"asdf);
    
hHudText CreateHudSynchronizer();
}

public 
Action:asdf(args)
{
    for (new 
i=1i<=MaxClientsi++)
    {
        if(
IsClientInGame(i) && !IsFakeClient(i))
        {
            if(
hHudText != INVALID_HANDLE)
            {
                
SetHudTextParams(-1.00.24.8525500255);
                
ShowSyncHudText(ihHudText"TEXT TEST");
            }
        }
    }
    return 
Plugin_Handled;


Last edited by nomy; 01-27-2015 at 22:27. Reason: Corrected
nomy is offline