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

Plzz i need help my plugin won't work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiceGuyx
Senior Member
Join Date: Nov 2011
Old 08-15-2012 , 15:56   Plzz i need help my plugin won't work
Reply With Quote #1

Hello, please
I want from my plugin to execute the command fly_users after 45minutes after the first round, but this plugin execute the command fly_users at the first round

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

new PLUGIN[]="FLY"
new AUTHOR[]="RTV"
new VERSION[]="1.0"

public plugin_init()
{
     
register_plugin(PLUGINVERSIONAUTHOR)

     
register_logevent("round_first"2"0=World triggered""1=Game_Commencing")

}
 
public 
round_first()
{

set_task(2700"fly"0)

}

public 
fly()
{

server_cmd("fly_users")


NiceGuyx is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-15-2012 , 16:00   Re: Plzz i need help my plugin won't work
Reply With Quote #2

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

new const PLUGIN[]="FLY"
new const AUTHOR[]="RTV"
new const VERSION[]="1.0"

public plugin_init()
{
     
register_plugin(PLUGINVERSIONAUTHOR)

     
register_logevent("round_first"2"0=World triggered""1=Game_Commencing")
}
 
public 
round_first() <>
{
    
set_task(2700.0"fly")
    
    
state task_set;
}
public 
round_first() <task_set> {}

public 
fly()
{
    
server_cmd("fly_users")

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
NiceGuyx
Senior Member
Join Date: Nov 2011
Old 08-15-2012 , 16:01   Re: Plzz i need help my plugin won't work
Reply With Quote #3

Quote:
Originally Posted by exolent[jnr] View Post
PHP Code:
#include <amxmodx>
#include <amxmisc>

new const plugin[]="fly"
new const author[]="rtv"
new const version[]="1.0"

public plugin_init()
{
     
register_plugin(pluginversionauthor)

     
register_logevent("round_first"2"0=world triggered""1=game_commencing")
}
 
public 
round_first() <>
{
    
set_task(2700.0"fly")
    
    
state task_set;
}
public 
round_first() <task_set> {}

public 
fly()
{
    
server_cmd("fly_users")

i love youuuuuuuuuuuuuuuuuuu!! Big kiss to you from me
NiceGuyx 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 07:01.


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