hlmod.hu
https://hlmod.hu/

Kezdő fegyver
https://hlmod.hu/viewtopic.php?f=29&t=14500
Oldal: 1 / 1

Szerző:  Davee120 [ 2014.02.21. 13:24 ]
Hozzászólás témája:  Kezdő fegyver

Sziasztok,

Valaki tud csinálni olyan plugint, hogy a ct-k minden kör elején kapjanak M4-et és desertet?

Szerző:  lis789 [ 2014.02.21. 15:08 ]
Hozzászólás témája:  Re: Kezdő fegyver

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <fakemeta>
  3. #include <hamsandwich>
  4. #include <fun>
  5. #include <cstrike>
  6.  
  7. public plugin_init()
  8. {
  9. RegisterHam(Ham_Spawn, "player", "Player_Spawn_Post", 1)
  10. }
  11.  
  12. public Player_Spawn_Post( id ) {
  13. if (cs_get_user_team(id) == CS_TEAM_CT) {
  14. give_item(id, "weapon_m4a1")
  15. give_item(id, "weapon_deagle")
  16. give_item(id,"ammo_556nato")
  17. give_item(id,"ammo_50ae")
  18. }
  19. }


remélem jó!

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