Raised This Month: $ Target: $400
 0% 

Task problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 09-06-2013 , 18:55   Task problem
Reply With Quote #1

Hi
Iam using this:
PHP Code:
public client_putinserver(id)
{
    if(!
is_user_bot(id))
        
set_task(10.0"music1"id)
}

public 
music1(id)
{
    
set_task(290.0"music2"id)
    
client_cmd(id"mp3 play sound/zombie_extreme/musics/zextreme_01.mp3")
}

public 
music2(id)
{
    
set_task(350.0"music3"id)
    
client_cmd(id"mp3 play sound/zombie_extreme/musics/zextreme_02.mp3")
}

public 
music3(id)
{
    
set_task(206.0"music4"id)
    
client_cmd(id"mp3 play sound/zombie_extreme/musics/zextreme_03.mp3")
}

public 
music4(id)
{
    
set_task(122.0"music5"id)
    
client_cmd(id"mp3 play sound/zombie_extreme/musics/zextreme_04.mp3")
}

public 
music5(id)
{
    
set_task(140.0"music1"id)
    
client_cmd(id"mp3 play sound/zombie_extreme/musics/zextreme_05.mp3")

It plays the musics, but not with task time. I think when someone goes on some music function it plays and set task to all, not only to the correct entity
__________________
Jhob94 is online now
 



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 19:03.


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