Quote:
Originally Posted by Arkarr
Please, search before posting. You would have found this.
|
I solved create menu. But Simple.., I want to freeze T players but How I can?
public Action:VIP(client, args)
{
new Handle:VMenu = CreateMenu(VipMenu);
SetMenuTitle(VMenu, "MENU");
AddMenuItem(VMenu, "Freeze", "");
SetMenuExitButton(VMenu, true);
DisplayMenu(VMenu, client, 0);
}
public VipMenu(Handle:VMenu, MenuAction:action, client, position)
{
if(action == MenuAction_Select)
{
decl String:item[20];
GetMenuItem(VMenu, position, item, sizeof(item));
if(StrEqual(item, "Freeze"))
{
// How I can freeze T players?? sm_freeze
return;
}