O noua aventura incepe. LaLeagane - It's all about gaming!

2006 and still counting.

PLUGIN PLUGIN NameTag Benefits

Senor LLG

leganar
Joined
May 3, 2018
Messages
244
Reaction score
230
Location
/var/tmp
Descriere: E ca cel de pe csgo cred, daca ai la nume de ex: LALEAGANE.RO primesti anumite beneficii, va dati voi seama de unde sa modificati acel NameTag :)
C++:
#include <amxmodx>
#include <fun>
#include <cstrike>
#include <hamsandwich>

new const _nameTag[] = "LALEAGANE.RO"

public plugin_init()
{
    register_plugin("NAME TAG BENEFITS", "1.0", "SenorAMXX")
    RegisterHam(Ham_Spawn, "player", "SpawnPost", 1)
}

public SpawnPost(id)
{
    new szName[33]
    get_user_name(id, szName, charsmax(szName))

    if(containi(szName, _nameTag))
    {
        if(is_user_alive(id) && cs_get_user_team(id) != CS_TEAM_SPECTATOR)
        give_items(id)
    }
}

give_items(id)
{
    cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM)
    give_item(id, "weapon_deagle")
    give_item(id, "weapon_hegrenade")
    give_item(id, "weapon_flashbang")
    cs_set_user_bpammo(id, CSW_DEAGLE, 35)
}
 
shape1
shape2
shape3
shape4
shape5
shape6
Top