Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <amxmisc>
- #include <fun>
- public plugin_init()
- {
- register_plugin("Metni Armor", "1.0", "LoMi")
- register_concmd("amx_metniarmor", "MetniArmor", ADMIN_RCON, "<part of nick> ; <amount>")
- }
- public MetniArmor(id)
- {
- if(is_user_alive(id))
- {
- new arg1[32], arg2[32];
- read_argv(1, arg1, 31)
- read_argv(2, arg2, 31)
- new player = cmd_target(id, arg1)
- new player_armor = get_user_armor(player);
- set_user_armor(player, player_armor + str_to_num(argument2))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement