Advertisement
Guest User

Untitled

a guest
May 29th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.43 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "New Plugin"
  5. #define VERSION "1.0"
  6. #define AUTHOR "Author"
  7.  
  8.  
  9. public plugin_init() {
  10.     register_plugin(PLUGIN, VERSION, AUTHOR)
  11.    
  12.    
  13.     register_clcmd("say /abc", "abc")
  14.    
  15.  
  16. }
  17. public abc(id) {
  18.    
  19.    
  20.     new imemape[32]
  21. get_mapname(imemape, 31)
  22. if(equali(imemape, "imemape")) {
  23.  
  24. funkcija(id)
  25.     }
  26.    
  27.    
  28. }
  29.  
  30. public funkcija(id)
  31. {
  32. client_print(id, print_chat, "abc")
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement