a quick q
have guys a quick q...i wanna have a say plugin that bring up a motd type window ingame i know how to do that but, i want it to work for /top10 and /topx at the same type but dunno how that would go into a code for both commands to bring up ssame thing or do i need to separate plugins?
this a code id use for it: Code:
#include <amxmodx> |
Re: a quick q
Two things:
a) Does the code you have work, or are you having problems with it? b) You can define both clcmds in the same file. Code:
register_clcmd("say /top10", "Function", 0, " - Description");if (!cmd_access(id,level,cid,1)) return PLUGIN_CONTINUE is pointless, because you are giving everybody access to that command, so there's no point in checking if they have access. |
| All times are GMT -4. The time now is 10:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.