Raised This Month: $ Target: $400
 0% 

get_user_menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nostrodamous
BANNED
Join Date: Oct 2006
Old 10-16-2006 , 19:58   get_user_menu
Reply With Quote #1

hi , can some 1 help me figure out how to use get_user_menu the right way . I want to make it so if the menu disapeers the player dies , so they have to pick from the menu or die , forcing them to practice with the weapons i want . i cant seem to get it rite. I tried to do
Code:
public ak_show(id, key) {  if(key == 0)  // yes  {   fm_give_item(id, "weapon_ak47");   cs_set_user_bpammo(id , CSW_AK47 , 200);  }  else  {   if(key == 2)   {    user_kill(id);   }   else   {    if(get_user_menu(id)==0)    {         user_kill(id);   }  }  return PLUGIN_CONTINUE; }
thanks

Last edited by Nostrodamous; 10-16-2006 at 20:01.
Nostrodamous 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:51.


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