Raised This Month: $ Target: $400
 0% 

pause / bind pause


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BIGR
Junior Member
Join Date: Aug 2008
Old 01-08-2011 , 02:53   Re: pause / bind pause
Reply With Quote #4

drekes:
1) allow cmd pause after 60s, but as? its ok for cmd func_pause
Code:
new time = 0

public func_test(id)
{
time=get_user_time(id)

if (time < 60) 
{
client_print(id, print_chat, "before 60s - func pause test")
return PLUGIN_HANDLED; 
}
else
{
client_print(id, print_chat, "after 60s - func pause test")
client_cmd(id, "pause")
}
return PLUGIN_CONTINUE
}
2,3) Thanks for answer.

Last edited by BIGR; 01-08-2011 at 03:04.
BIGR is offline
 



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 02:12.


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