View Single Post
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 09-24-2008 , 19:53   Re: Scripting onjoin msg help
Reply With Quote #2

PHP Code:
#pragma semicolon 1

#include <sourcemod>

public OnPluginStart()
{
    
LogMessage("[nade_adverts] is loading..");
}

public 
OnPluginEnd()
{
    
LogMessage("[nade_adverts] is unloading..");
}

public 
OnClientPutInServer(client)
{
    
CreateTimer(5.0Messageclient);
}

public 
Action:Message(Handle:timerany:client)
{
    if (
IsClientConnected(client))
        
PrintToChat(client"\x03Server features TF2 Nades!  -  Bind a key \x00+nade2 \x03or say \x00!nades \x03for help!");


Last edited by bl4nk; 09-24-2008 at 19:59.
bl4nk is offline