Raised This Month: $32 Target: $400
 8% 

detect whether round is started


Post New Thread Reply   
 
Thread Tools Display Modes
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 12-12-2011 , 13:30   Re: detect whether round is started
Reply With Quote #21

Quote:
Originally Posted by JoKeR LauGh View Post
Doing a private plugin , strip user weapon when the round comes .

MY : loop = gelung
Use this one:
PHP Code:
// New round begin
public event_round_start()
{
    
g_roundstarted 0
    client_print
(0,print_chat"New round begin wait until freezetime over...")
    
    
// Want use index?
    
for(new i=1;i<=g_maxplayers;i++)
    {
        if(
is_user_connected(i))
        {
            
// Put your function here
       
strip_user_weapons(i
        }
    }

Remember to include fun module.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Reply


Thread Tools
Display Modes

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 10:22.


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