Raised This Month: $ Target: $400
 0% 

Solved Need Simple Help for 5 lines Code :D


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-20-2017 , 11:57   Need Simple Help for 5 lines Code :D
Reply With Quote #1

Hi,

this code he has of supply boxes its spawn one time every round and its spawn after Xtime with cvar spawn_time

me wanna make it spawn every Xtime in 1 round mean not spawn one time i want make it spawn every Xtime in the round and thanx =)

PHP Code:
public round_start() 

    if(!
total_presents) return 
    
remove_task(1337
    
set_task(get_pcvar_float(spawn_time),"spawn_random_presents",1337

__________________

Last edited by D3XT3R; 03-20-2017 at 12:25.
D3XT3R is offline
Send a message via Skype™ to D3XT3R
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-20-2017 , 12:00   Re: Need Simple Help for 5 lines Code :D
Reply With Quote #2

it should be like this or what ?? please help??!
PHP Code:
public round_start()
{
    if (!
total_presents)
    {
        return 
0;
    }
    
remove_task(13370);
    
set_task(get_pcvar_float(spawn_time), "spawn_random_presents"1337""0""0);
    return 
0;

__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 03-20-2017 , 12:04   Re: Need Simple Help for 5 lines Code :D
Reply With Quote #3

set_task(get_pcvar_float(spawn_time), "spawn_random_presents", 1337, _, _, "b")
jimaway is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-20-2017 , 12:25   Re: Need Simple Help for 5 lines Code :D
Reply With Quote #4

thanx dude .
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
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 17:51.


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