←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

[ROZWIĄZANE] Szukam pluginu który wyciąga...


Best Answer B0T 14.03.2015 21:35

Wrzuciłem i można strzelać

 

Dobra znalazłem

#include <amxmodx>

#include <amxmisc>

#include <fun>

#include <cstrike>

#include <fakemeta>

#include <engine>

#include <hamsandwich>



#define PLUGIN "Take Weapon"

#define VERSION "1.0"

#define AUTHOR "Yakashi"





public plugin_init()

{

register_plugin(PLUGIN, VERSION, AUTHOR)



RegisterHam(Ham_Spawn, "player", "Respawn", 1);



}

public Respawn(id)

{

if(!is_user_alive(id) || !is_user_connected(id))

return PLUGIN_CONTINUE;



strip_user_weapons(id);

give_item(id, "weapon_knife");





return PLUGIN_CONTINUE;

}
Go to the full post
Locked

  • +
  • -
B0T's Photo B0T 14.03.2015

Jak wyżej kończy się runda to wyciąga nóż i blokuje inne bronie.

Quote

  • +
  • -
Epal's Photo Epal 14.03.2015

Luknij na to nie blokuje broni tylko strzały ale na to samo wychodzi:

http://amxx.pl/topic...a-koniec-rundy/

Quote

  • +
  • -
Best Answer B0T's Photo B0T 14.03.2015

Wrzuciłem i można strzelać

 

Dobra znalazłem

#include <amxmodx>

#include <amxmisc>

#include <fun>

#include <cstrike>

#include <fakemeta>

#include <engine>

#include <hamsandwich>



#define PLUGIN "Take Weapon"

#define VERSION "1.0"

#define AUTHOR "Yakashi"





public plugin_init()

{

register_plugin(PLUGIN, VERSION, AUTHOR)



RegisterHam(Ham_Spawn, "player", "Respawn", 1);



}

public Respawn(id)

{

if(!is_user_alive(id) || !is_user_connected(id))

return PLUGIN_CONTINUE;



strip_user_weapons(id);

give_item(id, "weapon_knife");





return PLUGIN_CONTINUE;

}

Edited by B0T, 14.03.2015 21:47.
Quote

  • +
  • -
MAGNET's Photo MAGNET 15.03.2015

Wiadomość wygenerowana automatycznie


Ten temat został zamknięty przez moderatora.

Powód: Pomoc udzielona

Jeśli się z tym nie zgadzasz, report.png raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.


Z pozdrowieniami,
Zespół AMXX.PL
Quote
Locked