Raised This Month: $ Target: $400
 0% 

[HELP] Last stand and ...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MouseSplash!
Veteran Member
Join Date: Dec 2009
Location: En Tu Mente!
Old 01-10-2010 , 07:09   Re: [HELP] Last stand and ...
Reply With Quote #6

Quote:
Originally Posted by SpokY View Post
yes, but this plugin what do u watch me is for source or ?
your lr just give weapon.. for terrorist no cts...

and look this..

PHP Code:
public duelmenu(id)
{    
        new 
cts[32], ts[32], ctsnumtsnum 
        
new CsTeams:team 
         
        
for (new id=1id <= g_iMaxPlayersid++)
        {
            if (!
is_user_connected(id) || !is_user_alive(id)) 
            { 
                continue 
            } 
        
            
team cs_get_user_team(id
        
            if (
team == CS_TEAM_T
            { 
                
ts[tsnum++] = id
            

            else if (
team == CS_TEAM_CT
            { 
                
cts[ctsnum++] = id
            

        } 
        if (
tsnum == && ctsnum >= 1
        {  
         
/* there is... if terror = 1 and cts 1 or more 
             open menu,  HERe is go the menu */
        
        
}
        else if    (
tsnum == && ctsnum 1)
        {
            
client_print(idprint_chat"dont have cts for dueling.")
        }
        else if    (
tsnum && ctsnum >= 1)
        {
            
client_print(idprint_chat"only last terrorist use this menu")
        }
    }
 return 
PLUGIN_HANDLED;


sorry for my english

look this tutorial menu
http://forums.alliedmods.net/showthread.php?t=46364


PD: dont make double post or u banned :S
MouseSplash! 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 04:06.


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