Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <amxmisc>
- #include <hamsandwich>
- #include <cstrike>
- #include <fakemeta_util>
- new plug
- public plugin_init() {
- register_plugin("Deagle Respawn", "v1.2", "xFlane")
- plug = register_cvar("deagle_respawn","1")
- RegisterHam( Ham_Spawn, "player", "evSpawn", 1 );
- }
- public evSpawn(client)
- {
- if(!is_user_alive(client))
- return 1;
- if(get_pcvar_num(plug) == 1)
- {
- fm_give_item(client,"weapon_deagle")
- cs_set_user_bpammo(client,CSW_DEAGLE,99999)
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement