Raised This Month: $ Target: $400
 0% 

help lastmenu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 10-21-2009 , 14:13   Re: help lastmenu
Reply With Quote #1

You missed the parameters on it.
PHP Code:
 switch(key)
{
    case 
1:
    {
        if( 
is_user_alive(id) )
            
give_item(id"weapon_knife");
        
set_user_health(id100);
        
set_hudmessage(50255)
        
//disarm all
        
strip_user_weapons(id)    
        
show_hudmessage(0,"You have chosen knife duel.")  
    }
    case 
2:
    {
        if( 
is_user_alive(id) )
            
//disarm team 
        
strip_user_weapons (id)  
        
// they delay them has 100hp as well as a deagle 
        
set_user_health(id100);
        
give_item(id,"weapon_deagle")
        
cs_set_user_bpammo(id,CSW_DEAGLE,200)
        
set_hudmessage(50255)
        
show_hudmessage(0,"You have chosen shoot for shoot.")  
    } 
See how I included (id) after strip_user_weapons.

Also, I dont know if the rest of your code will work. Youll need to wait for someone else to answer that
__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel is offline
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 17:36.


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