AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hide Guns menu? (https://forums.alliedmods.net/showthread.php?t=141310)

algiuxas 10-22-2010 09:20

Hide Guns menu?
 
Hi everyone.

I have this code:

Code:

public vpar(id)
{
    if(armor_active[id] == 1)
    {
        give_item(id,"item_assaultsuit")
        give_item(id,"weapon_flashbang")
        give_item(id,"weapon_flashbang")
        give_item(id,"weapon_hegrenade")
        give_item(id,"weapon_smokegrenade")
        client_print(id, print_chat, "[VIP]: Received armor and nades")
    }
}

I want to make this script hide the CSDM gun menu after giving nades just until the next respawn. It should only hide the menu, without giving any weapons. How can I do that?


All times are GMT -4. The time now is 10:28.

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