Raised This Month: $ Target: $400
 0% 

Need Help with Menu and get_user_ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VEN
Veteran Member
Join Date: Jan 2005
Old 07-15-2006 , 19:13   Re: Need Help with Menu and get_user_ammo
Reply With Quote #1

Quote:
How do I make a second Menu Column?
Like this
Use "\R" control caracter in front of the clumn's text, example: "\RThis is a righ-aligned menu text"

Quote:
How do I use get_user_ammo correctly?
Here is an example of how to get USP's clip and ammo with a client command "test", no additional includes required:

Code:
#include <amxmodx>   public plugin_init() {    register_clcmd("test", "func") }   public func(id) {    new clip, ammo    get_user_ammo(id, CSW_USP, clip, ammo)    server_print("Clip: %d, Ammo: %d", clip, ammo)      return PLUGIN_HANDLED }
Quote:
and how can I know what weapon has the ID "3"?
Is there a list?
Yes, here: http://www.amxmodx.org/funcwiki.php?...d=4#const_cswp

Quote:
how I make the Plugin wait for a specific time, then do something
Use set_task: http://www.amxmodx.org/funcwiki.php?...task&go=search

Last edited by VEN; 07-15-2006 at 19:21.
VEN 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 08:04.


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