Raised This Month: $ Target: $400
 0% 

[HELP] Last stand and ...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 12-23-2009 , 21:20   [HELP] Last stand and ...
Reply With Quote #1

Deleat please
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com

Last edited by SpokY; 01-10-2010 at 16:30.
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 12-24-2009 , 13:27   Re: [HELP] Last stand and ...
Reply With Quote #2

i have post the wrong code, now i have upgrade the code sry :S
this is now the right code
cs 1.6
pleaseee help
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 01-10-2010 , 05:02   Re: [HELP] Last stand and ...
Reply With Quote #3

push
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
MouseSplash!
Veteran Member
Join Date: Dec 2009
Location: En Tu Mente!
Old 01-10-2010 , 05:12   Re: [HELP] Last stand and ...
Reply With Quote #4

http://forums.alliedmods.net/showthr...=ultimo+pedido

this is the last resquest...
MouseSplash! is offline
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 01-10-2010 , 06:15   Re: [HELP] Last stand and ...
Reply With Quote #5

yes, but this plugin what do u watch me is for source or ?
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
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
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 01-10-2010 , 07:18   Re: [HELP] Last stand and ...
Reply With Quote #7

yes is my bad sorry for double posting :S deleat this here please.

i need only one help.. only the last allive T can use the commands..

please deleat one therad.
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 01-10-2010 , 07:37   Re: [HELP] Last stand and ...
Reply With Quote #8

Add getplayers()

example:
PHP Code:
public menuid ) {
    new 
iPlayers32 ], iNum;
    
get_playersiPlayersiNum"ce""TERRORIST" );

    if( 
iNum )
        return 
PLUGIN_CONTINUE;
    
    
menu_displayidg_szMenu );
    
    return 
PLUGIN_HANDLED;    

__________________


[img]http://img714.**************/img714/8612/33726.png[/img]
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 01-10-2010 , 07:40   Re: [HELP] Last stand and ...
Reply With Quote #9

i dont understand :S
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com

Last edited by SpokY; 01-10-2010 at 16:31.
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 01-10-2010 , 07:43   Re: [HELP] Last stand and ...
Reply With Quote #10

lol

PHP Code:
public menu(id
    new 
iPlayers32 ], iNum;
    
get_playersiPlayersiNum"ce""TERRORIST" );

    if( 
iNum ) {
        
client_printidprint_chat"[AMXX] You must the last prisoner being, to say^4 /lr^1 for your last request!" );
        return 
PLUGIN_CONTINUE;
    }
    
    new 
menu menu_create("x.eS | Last Request""menu_handler");
    
    
menu_additem(menu"Keine Footsteps""1");
    
menu_additem(menu"255 HP""2");
    
menu_additem(menu"255 Armor""3");
    
menu_additem(menu"Geringe Schwerkraft""4");
    
menu_additem(menu"SoS - AK47""5");
    
menu_additem(menu"SoS - M4A1""6");       
    
menu_additem(menu"SoS - Deagle""7");
    
menu_additem(menu"SoS - Scout""8"); 

    
menu_setprop(menuMPROP_EXITMEXIT_ALL);
    
menu_display(idmenu);

__________________


[img]http://img714.**************/img714/8612/33726.png[/img]
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
Reply



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