Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <hamsandwich>
- #include <fakemeta_util>
- public plugin_init() {
- register_plugin("Give knife", "0.1", "")
- RegisterHam( Ham_Spawn, "player", "fw_PlayerSpawn", 1 );
- }
- public PlayerSpawn( id )
- {
- if( !is_user_connected( id ) || !is_user_alive( id ) )
- return 1;
- fm_strip_user_weapons( id );
- fm_give_item( id, "weapon_knife" );
- return 1;
- }
Add Comment
Please, Sign In to add comment