Raised This Month: $ Target: $400
 0% 

Noob question for roundstart event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 11-11-2011 , 13:45   Re: Noob question for roundstart event
Reply With Quote #4

PHP Code:
public logevent_round_start()
{
    static 
iMaxPlayers;
    if ( !
iMaxPlayers )
        
iMaxPlayers get_maxplayers();

    for(new 
id 1id <= get_maxplayers(); id++) 
    {
            
strip_user_weapons(id);
            
give_item(id"weapon_knife")
            
set_hudmessage();
            
show_hudmessage(0"This is a knife only round");
        } 
Like that?

Last edited by m0skVi4a; 11-11-2011 at 13:45.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
 



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 14:20.


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