AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Plzz i need help my plugin won't work (https://forums.alliedmods.net/showthread.php?t=193003)

NiceGuyx 08-15-2012 15:56

Plzz i need help my plugin won't work
 
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")




Exolent[jNr] 08-15-2012 16:00

Re: Plzz i need help my plugin won't work
 
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")



NiceGuyx 08-15-2012 16:01

Re: Plzz i need help my plugin won't work
 
Quote:

Originally Posted by exolent[jnr] (Post 1772333)
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


All times are GMT -4. The time now is 11:58.

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