Raised This Month: $ Target: $400
 0% 

Noob's thing's


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-30-2010 , 14:53   Re: Noob's thing's
Reply With Quote #5

PHP Code:
#include <amxmodx>
#include <hamsandwich>

public plugin_init() 
{
    
register_plugin"Slap Hi" "0.1" "bugsy" );
    
    
RegisterHamHam_Spawn "player" "fw_HamSpawn_Post" );
}

public 
fw_HamSpawn_Postid )
{
    if ( 
is_user_aliveid ) )
    {
        
set_task0.25 "SlapPlayer" id __"a" );
        
set_hudmessage255 255 255 , -1.0 , -1.0 6.0 3.0 );
        
show_hudmessageid "Hello, here be 3 slap" );
    }
}

public 
SlapPlayerid )
{
    
user_slapid 1);

__________________

Last edited by Bugsy; 01-30-2010 at 20:57.
Bugsy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode