Client Command Help
I want to give weapon to a client(not admin) or admin after he types in chat "/give" but,Its not working.
Code:
register_clcmd("say /give", "giveweapons") |
Re: Client Command Help
Show full code, problem is somewhere else. Also check your logs as there's probably an error somewhere that prevents the execution of the code you posted.
|
Re: Client Command Help
There could be a line in plugin_init, before :
register_clcmd("say /give", "giveweapons") that prevent this one from being registered, like a missing callback. Like if you do : register_clcmd("say /take", "takeweapons") register_clcmd("say /give", "giveweapons") And if your plugin doesn't contain somewhere : public takeweapons Lines after register_clcmd("say /take", "takeweapons") are not considerated |
Re: Client Command Help
I am using Ham_Spawn native before those,Is that the problem???????
|
Re: Client Command Help
Show the full code or don't expect help here.
|
Re: Client Command Help
You forget (i think) to include fun. ( http://www.amxmodx.org/funcwiki.php?go=func&id=120 )
Quote:
Code:
Why do you use Ham_Spawn ? It's not when a player spawn but when the player type a cmd. If you whant to set bullet in yours weapons take a look here : http://www.amxmodx.org/funcwiki.php?go=func&id=186 |
Re: Client Command Help
Quote:
|
Re: Client Command Help
Quote:
SHOW YOUR F$*#ING CODE :mrgreen::mrgreen: |
Re: Client Command Help
OK,If its not a native the what ever it is? I am using
Code:
RegisterHam(Ham_Spawn, "player", "playerspawn", 1) |
Re: Client Command Help
Quote:
|
| All times are GMT -4. The time now is 06:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.