Raised This Month: $51 Target: $400
 12% 

Happy Halloween.


Post New Thread Reply   
 
Thread Tools Display Modes
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 11-02-2006 , 20:48   Re: Happy Halloween.
Reply With Quote #41

yes it is!
k007 is offline
Send a message via MSN to k007
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 11-02-2006 , 21:26   Re: Happy Halloween.
Reply With Quote #42

Quote:
Originally Posted by SweatyBanana View Post
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Trick or Treat"
#define VERSION "1.0"
#define AUTHOR "SweatyBanana"


public plugin_init()
{
    
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("can_i_trick_or_treat","fn_tricktreat")
}

public 
fn_tricktreat(id)
{
    new 
age get_user_age(id);
    if(
age>=20)
    {
        
client_print(id,print_console,"You are too old to trick-or-treat, go die.");
        
user_kill(id);
    }
    else
    {
        
set_user_candy(id,5000)
    }
    return 
PLUGIN_HANDLED;

Ouch.

You greedy young whipper snappers think all that candy is for you?!
sawce is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 11-02-2006 , 21:38   Re: Happy Halloween.
Reply With Quote #43


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

#define PLUGIN "Trick or Treat"
#define VERSION "1.0"
#define AUTHOR "SweatyBanana"


public plugin_init()
{
    
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("can_i_trick_or_treat","fn_tricktreat")
}

public 
fn_tricktreat(id)
{
    new 
age get_user_age(id);
    new 
karma get_user_karma(id);
    if(
age>=20 && karma<71)
    {
        
client_print(id,print_console,"You are too old to trick-or-treat, go die.");
        
user_kill(id);
    }
    else
    {
        
set_user_candy(id,5000)
    }
    return 
PLUGIN_HANDLED;

stupok is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 11-02-2006 , 21:39   Re: Happy Halloween.
Reply With Quote #44

Thats better.
sawce is offline
Nostrodamous
BANNED
Join Date: Oct 2006
Old 11-02-2006 , 21:43   Re: Happy Halloween.
Reply With Quote #45

Quote:
Originally Posted by SweatyBanana View Post
PHP Code:
#include <amxmodx>
#include <amxmisc>
 
#define PLUGIN "Trick or Treat"
#define VERSION "1.0"
#define AUTHOR "SweatyBanana"
 
 
public plugin_init()
{
 
    
register_plugin(PLUGINVERSIONAUTHOR)
 
    
register_clcmd("can_i_trick_or_treat","fn_tricktreat")
}
 
public 
fn_tricktreat(id)
{
    new 
age get_user_age(id);
    if(
age>=20)
    {
        
client_print(id,print_console,"You are too old to trick-or-treat, go die.");
        
user_kill(id);
    }
    else
    {
        
set_user_candy(id,5000)
    }
    return 
PLUGIN_HANDLED;

hAHAHAHA OMFG thats funny (else set_user__candy 5000
Nostrodamous is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 11-03-2006 , 06:23   Re: Happy Halloween.
Reply With Quote #46

You forgot to check how their costume is (you don't actually check for costume ). I'm surprised no one posted any 'halloween' plugins
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Reply



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 11:05.


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