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