P1xeL

adi CVAR

Oct 12th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.29 KB | None | 0 0
  1. #include <amxmodx.inc>
  2.  
  3. new pPlugin;
  4.  
  5. public plugin_init() {
  6.     pPlugin = register_cvar("amx_adi", "1");
  7.     register_clcmd("say /function", "Function");
  8. }
  9.  
  10. public Function(id) {
  11.     if(get_pcvar_num(pPlugin) == 0) return 1;
  12.    
  13.     client_print(id, print_chat, "Plugin Is ENABLED !!!");
  14.     return 1;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment