Raised This Month: $ Target: $400
 0% 

Menu - Menu Callback [Advanced]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 04-14-2011 , 09:32   Re: Menu - Menu Callback [Advanced]
Reply With Quote #4

thanks for helping fysiks and Exolent
I didn't understand you fysiks, my if statement are kill_counter[id]<3 etc...
as i said probem is that my statements aint 1 or 0 like in tutorial
i solved the problem with menu, it's working, but on other way
still want to know how to do it like this...

two more question

1. is there any better way to set task on enemy players
PHP Code:
    for (new i=1i<=g_maxplayers;i++)
    {
        if(
cs_get_user_team(i) != cs_get_user_team(id))
        {
            
set_task(....... 
in this case task will be set to every player individualy..
any one know the better way of setting task on enemy team

2. how to disable radar for 15 sec
i have one idea, but i dont know how good is it..
PHP Code:
if(something[id)
{
    
message_begin(MSG_ALL,gmsgHideWeapon,{0,0,0},0
    
write_byte(8
    
message_end()  
    
set_task(15.0....

and in new task to set that "something[id] = false....
but will it work?

Last edited by OvidiuS; 04-14-2011 at 09:54.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
 



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:49.


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