Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <hamsandwich>
- #include <fun>
- #define PLUGIN "HP on Spawn"
- #define VERSION "1.0"
- #define AUTHOR "alan_el_more"
- #define SET_HP 35
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn_Post", 1)
- }
- public fw_PlayerSpawn_Post(id)
- {
- if (!is_user_alive(id))
- return;
- set_user_health(id, SET_HP)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement