AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   admin_vgk + prekrepit hp (https://forums.alliedmods.net/showthread.php?t=156650)

K o T 05-10-2011 03:58

admin_vgk + prekrepit hp
 
HTML Code:

#include <amxmodx>
#include <amxmisc>
#include <fun>

public plugin_init()
{
        register_plugin("Admins are VIP's + grenades + kevlar", "1.0", "Eg@r4$il{")
        register_event("ResetHUD", "ResetHUD", "be")
}

public ResetHUD(id)
{
        set_task(0.5, "VIP", id + 6910)
}

public VIP(TaskID)
{
        new id = TaskID - 6910
       
        if (is_user_admin(id))
        {
                message_begin(MSG_ALL, get_user_msgid("ScoreAttrib"))
                write_byte(id)
                write_byte(4)
                message_end()
                give_item(id,"weapon_hegrenade")
                give_item(id,"weapon_flashbang")
                give_item(id,"weapon_flashbang")
                give_item(id,"weapon_smokegrenade")
                give_item(id,"item_assaultsuit")       
        }
       
        return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
*/

Help prekrepit hp 150 admin with flag A


All times are GMT -4. The time now is 23:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.