Thread: [Solved] Vip Gun Menu
View Single Post
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 10-02-2020 , 09:08   Re: Vip Gun Menu
Reply With Quote #6

native is_user_alive(index);

Note

This will never return true if a client is not connected. If you need
to know whether a client is alive, an additional call to
is_user_connected() is unnecessary.

https://www.amxmodx.org/api/amxmodx/is_user_alive

PHP Code:
public hamSpawn(id)
{
    if(
is_user_alive(id) && is_user_connected(id))
    {
        
CmdVipWeapons(id)
    }
    
countOpeningMenu[id] = 0;



PHP Code:
public hamSpawn(id)
{
    if(
is_user_alive(id))
    {
        
CmdVipWeapons(id)
    }
    
countOpeningMenu[id] = 0;

__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr