Advertisement
Guest User

takony_kicker.sma

a guest
Sep 3rd, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.69 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <amxmisc>
  3.  
  4. #define PLUGIN "Plugin"
  5. #define VERSION "1.0"
  6. #define AUTHOR "mforce"
  7.  
  8. public plugin_init() {
  9.     register_plugin(PLUGIN, VERSION, AUTHOR)
  10.     register_clcmd("Melyik_evben_szulettel?", "szulettel")
  11. }
  12.  
  13. public client_putinserver(id) set_task(3.0,"kerdes", id)
  14.  
  15. public kerdes(id) {
  16.     engclient_cmd(id, "jointeam", "6")
  17.     client_cmd(id, "messagemode Melyik_evben_szulettel?")
  18. }
  19.  
  20. public szulettel(id) {
  21.     new datum[32]
  22.     read_args(datum, charsmax(datum))
  23.     remove_quotes(datum)
  24.    
  25.     if(!strlen(datum)) server_cmd("kick #%d Meg kell adnod nincs mese!", get_user_userid(id))
  26.     else server_cmd("kick #%d Tok mind1 ugyis takony vagy!", get_user_userid(id))
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement