Hi,i need ca guns menu only for terrorist,if a CT want to type for exemple !guns ,the server say: You are not terrorist.I need the menu to be just for the terrorists please.
In guns menu i just want you to add:
AK47
M4A1
AWP
Deagle
And the terrorist to can open the menu just for 2 times in the round.
if(!menu.Display(client, 10))
{
LogError("Failed display menu to player");
}
return Plugin_Handled;
}
public int menu_handler(Menu menu, MenuAction action, int param1, int param2)
{
switch(action)
{
case MenuAction_End:
{
delete menu;
}
case MenuAction_Select:
{
if(!IsClientInGame(param1) || GetClientTeam(param1) != CS_TEAM_T || !IsPlayerAlive(param1)) return;