Raised This Month: $ Target: $400
 0% 

Delay, works once!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xeonn
Junior Member
Join Date: Jun 2006
Old 06-26-2006 , 05:06   Re: Delay, works once!
Reply With Quote #1

*UPDATE*

Is this possible:
Code:
public cmd_sst(id,level,cid)
{
    if(!cmd_access(id,level,cid,1))
    return PLUGIN_HANDLED;
    
    set_task( get_cvar_float("amx_lncsst"), "cmd_ss", id, _ , _ , "b", random_num);
    return PLUGIN_HANDLED;
}
xeonn is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-26-2006 , 05:10   Re: Delay, works once!
Reply With Quote #2

Nope. It'd be more like:

set_task( get_cvar_float("amx_lncsst"), "cmd_ss", id, _ , _ , "a", random_num(1, 5));
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
xeonn
Junior Member
Join Date: Jun 2006
Old 06-26-2006 , 05:16   Re: Delay, works once!
Reply With Quote #3

I need a script, that during the match the screenshots being continued all match long, till the players leave.
xeonn is offline
xeonn
Junior Member
Join Date: Jun 2006
Old 06-26-2006 , 07:18   Re: Delay, works once!
Reply With Quote #4

Ok, screenshots are working

Next problem:
Code:
public cmd_sst(id,level,cid)
{
    if(!cmd_access(id,level,cid,1))
    return PLUGIN_HANDLED;
    
 
    set_task( get_cvar_float("amx_lncsst"), "cmd_ss", id, _ , _ , "b", 10);
    return PLUGIN_HANDLED;
}
The timer does not work, he keeps on make screenshots, i want every 3 min one screenshot.
xeonn is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-26-2006 , 07:56   Re: Delay, works once!
Reply With Quote #5

Put this in amxx.cfg: amx_lncsst 180

60 * 3 = 180
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
xeonn
Junior Member
Join Date: Jun 2006
Old 06-26-2006 , 08:08   Re: Delay, works once!
Reply With Quote #6

Quote:
Originally Posted by v3x
Put this in amxx.cfg: amx_lncsst 180

60 * 3 = 180
The command wont stop:


[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !
[LNCSS] The screenshots has been made !

He's doing that on 1 sec or so :S
xeonn is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 06-26-2006 , 09:00   Re: Delay, works once!
Reply With Quote #7

I think you want to remove flag "b".
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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:59.


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