Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <amxmisc>
- public plugin_init()
- {
- register_plugin("Knife i Smoke", "1.0", "->UrOS<-")
- register_clcmd("amx_round", "funkcija", ADMIN_KICK, "amx_round smoke ili amx_round knife")
- }
- public funkcija(id, level, cid)
- {
- if(!cmd_access(id, level, cid, 2))
- return PLUGIN_HANDLED
- new argument[10]
- read_argv(1, argument, 9)
- if(equali(argument, "smoke"))
- server_cmd("exec smoke.cfg")
- else if(equali(argument, "knife"))
- server_cmd("exec knife.cfg")
- return PLUGIN_HANDLED
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement