hlmod.hu
https://hlmod.hu/

chat connect hiba
https://hlmod.hu/viewtopic.php?f=9&t=6698
Oldal: 1 / 1

Szerző:  koCFG [2012.11.26. 16:31 ]
Hozzászólás témája:  chat connect hiba

Kód:
/* Script generated by Pawn Studio */

 

#include <amxmodx>

#include <amxmisc>

#include <colorchat>

 

#define PLUGIN   "Csatlakozo"

#define AUTHOR   "Small"

#define VERSION   "1.0"

 

public plugin_init()

{

   register_plugin(PLUGIN, VERSION, AUTHOR)

 

}

 

public client_connect(id)

{

 

   new authid[35]

   new user[32]

 

   get_user_name(id,user,31)

   get_user_authid(id,authid,34)

 

   {

      ColorChat(0, NORMAL, "^1[^4S^1]^4[^4M^1] [^4%s^1] csatlakozott [^4%s^1]",user,authid)   

   }

 

   if (get_user_flags(id) & ADMIN_KICK)

   {

      ColorChat(0, NORMAL, "^1[^4S^1]^4[^4M^1] {^4Admin^1} [^4%s^1] csatlakozott [^4%s^1]",user,authid)

   }   

}


Ebbe amikor admin jon fel mijert nem mukodik???

Szerző:  small [2012.11.26. 16:42 ]
Hozzászólás témája:  Re: chat connect hiba

SMA Forráskód: [ Mindet kijelol ]
  1. /* Script generated by Pawn Studio */
  2.  
  3.  
  4.  
  5. #include <amxmodx>
  6.  
  7. #include <amxmisc>
  8.  
  9. #include <colorchat>
  10.  
  11.  
  12.  
  13. #define PLUGIN "Csatlakozo"
  14.  
  15. #define AUTHOR "Small"
  16.  
  17. #define VERSION "1.0"
  18.  
  19.  
  20.  
  21. public plugin_init()
  22.  
  23. {
  24.  
  25. register_plugin(PLUGIN, VERSION, AUTHOR)
  26.  
  27.  
  28.  
  29. }
  30.  
  31.  
  32.  
  33. public client_connect(id)
  34.  
  35. {
  36.  
  37.  
  38.  
  39. new authid[35]
  40.  
  41. new user[32]
  42.  
  43.  
  44.  
  45. get_user_name(id,user,31)
  46.  
  47. get_user_authid(id,authid,34)
  48.  
  49.  
  50. if (get_user_flags(id) & ADMIN_KICK)
  51.  
  52. {
  53.  
  54. ColorChat(0, NORMAL, "^1[^4S^1]^4[^4M^1] {^4Admin^1} [^4%s^1] csatlakozott [^4%s^1]",user,authid)
  55.  
  56. }
  57.  
  58. else
  59. {
  60.  
  61. ColorChat(0, NORMAL, "^1[^4S^1]^4[^4M^1] [^4%s^1] csatlakozott [^4%s^1]",user,authid)
  62.  
  63. }
  64. }
  65.  
  66.  
  67.  

Szerző:  koCFG [2012.11.26. 16:54 ]
Hozzászólás témája:  Re: chat connect hiba

igy mar jo?

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/