hlmod.hu
https://hlmod.hu/

T től fegyver elvétel [DeathRun]
https://hlmod.hu/viewtopic.php?f=9&t=25358
Oldal: 1 / 1

Szerző:  PikHácsúú# [2016.07.02. 15:09 ]
Hozzászólás témája:  T től fegyver elvétel [DeathRun]

Sziasztok.
Kellene nekem egy olyan plugin, ami a terroristától elveszi a fegyverét, ad neki kést, de a CT-t békén haggya. [DeathRun] módhoz kell.
Tehát csak a T-nek ne legyen fegyvere, CT-nek legye uspje, kése.

Szerző:  regener [2016.07.02. 15:18 ]
Hozzászólás témája:  Re: T től fegyver elvétel [DeathRun]

  1. #include <amxmodx>
  2. #include <fun>
  3. #include <hamsandwich>
  4.  
  5. public plugin_init()
  6. {
  7.     RegisterHam(Ham_Spawn, "player", "playerspawn", 1);
  8. }
  9.  
  10. public playerspawn(id)
  11. {
  12.     if(is_user_connected(id) && get_user_team(id)==1)
  13.     {
  14.         strip_user_weapons(id);
  15.        
  16.         give_item(id,"weapon_knife");
  17.     }
  18.     return PLUGIN_HANDLED;
  19. }

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