View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-19-2011 , 11:33   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #6

Gravity, armor, health, weapon... Sorry but this is useless, unapproved.


About code :
PHP Code:
public Ham_PlayerSpawn(id)
{
    if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
ColorChat(idTEAM_COLOR"%s You gained a FlashBang because a new round has began!"g_szPrefix)
        
give_item(id"weapon_flashbang")
    }
    else
    {
        
ColorChat(idTEAM_COLOR"%s You didn't receive a FlashBang because you're not VIP! type /getvip to get VIP!"g_szPrefix)
    }
}

public 
PlayerSpawn(id)
{
    if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
ColorChat(idTEAM_COLOR"%s You gained a Smoke Grenade because a new round has begun!"g_szPrefix)
        
give_item(id"weapon_smokegrenade")
    }
    else
    {
        
ColorChat(idTEAM_COLOR"%s You didn't receive a Smoke Grenade because you're not VIP! type /getvip to get VIP!"g_szPrefix)
    }

...
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-19-2011 at 11:36.
ConnorMcLeod is offline