Raised This Month: $ Target: $400
 0% 

Remind everyone when (X) seconds passed.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lobopack23
Senior Member
Join Date: Jun 2009
Location: California , United Stat
Old 08-20-2013 , 02:52   Re: Remind everyone when (X) seconds passed.
Reply With Quote #1

here you go buddy..try this simple version
Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Reminder"
#define VERSION "1.0"
#define AUTHOR "HalfLife"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    new Float:gametime = get_gametime()

    if( gametime >= 600.0 )
        client_print( 0, print_chat, "10 minutes have passed, now Admins can Vote For Mod." );
    return PLUGIN_HANDLED
}
And if you want to spice things up.

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

#define PLUGIN "Reminder"
#define VERSION "1.0"
#define AUTHOR "HalfLife"

#define MINUTES 10
new g_timePassed
new Float:gametime

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)

    gametime = get_gametime()
    g_timePassed = MINUTES * 60

    if( gametime >= g_timePassed )
        client_print( 0, print_chat, "%s minutes have passed, now Admins can Vote For Mod.", g_timePassed );

    return PLUGIN_HANDLED
}
didn't have time to test, but i hope it's what you're looking for
__________________
- Steam: Lobopack23 - Link
Contact me if you need any help with Pokemod.
- 2nd Generation Pokemod - Link
(new skills, items, and pokemons)
- Buy Xp - Link

Last edited by lobopack23; 08-20-2013 at 02:59.
lobopack23 is offline
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 15:51.


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