hlmod.hu
https://hlmod.hu/

gombra csapatválltás
https://hlmod.hu/viewtopic.php?f=29&t=26597
Oldal: 1 / 1

Szerző:  Krisznitro [ 2016.11.05. 08:07 ]
Hozzászólás témája:  Re: gombra csapatválltás

jocikahehe írta:
Helló, hogy tudom megcsinálni azt hogy beírom pl /valt és dobjon be spectartorba?


  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <cstrike>
  5.  
  6. new const PLUGIN[] = "New Plug-In";
  7. new const VERZIO[] = "1.0";
  8. new const KESZITO[] = "CryTeX";
  9.  
  10.  
  11. public plugin_init() {
  12.     register_plugin(PLUGIN, VERZIO, KESZITO);
  13.     register_clcmd("say /valt", "gospec");
  14. }
  15. public gospec(id)
  16. {
  17.     cs_set_user_team(id, CS_TEAM_SPECTATOR);
  18.     client_print(id, print_chat, "Kialtal specbe!");
  19. }

Szerző:  regener [ 2016.11.05. 10:22 ]
Hozzászólás témája:  Re: gombra csapatválltás

Krisznitro írta:
jocikahehe írta:
Helló, hogy tudom megcsinálni azt hogy beírom pl /valt és dobjon be spectartorba?


  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <cstrike>
  5.  
  6. new const PLUGIN[] = "New Plug-In";
  7. new const VERZIO[] = "1.0";
  8. new const KESZITO[] = "CryTeX";
  9.  
  10.  
  11. public plugin_init() {
  12.     register_plugin(PLUGIN, VERZIO, KESZITO);
  13.     register_clcmd("say /valt", "gospec");
  14. }
  15. public gospec(id)
  16. {
  17.     user_silentkill(id) // különben életben maradhat
  18.     cs_set_user_team(id, CS_TEAM_SPECTATOR);
  19.     client_print(id, print_chat, "Kialtal specbe!");
  20. }

Szerző:  Krisznitro [ 2016.11.05. 19:01 ]
Hozzászólás témája:  Re: gombra csapatválltás

Jogos.

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