Raised This Month: $51 Target: $400
 12% 

[REQ] Menu System


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wattres
Junior Member
Join Date: Jul 2016
Old 08-17-2016 , 10:10   [REQ] Menu System
Reply With Quote #1

Hi guys,
I want to coding menu for CSGO. Freeze players or player, freeze players or player, CT god, etc... When I wrote !vipmenu I select menus.
Thx.

Last edited by Wattres; 08-17-2016 at 10:49.
Wattres is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-17-2016 , 10:50   Re: [REQ] Menu System
Reply With Quote #2

Please, search before posting. You would have found this.

Also, you want to post your thread on Scripting part.
__________________
Want to check my plugins ?

Last edited by Arkarr; 08-17-2016 at 10:52.
Arkarr is offline
Wattres
Junior Member
Join Date: Jul 2016
Old 08-17-2016 , 10:55   Re: [REQ] Menu System
Reply With Quote #3

Quote:
Originally Posted by Arkarr View Post
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;

}
Wattres is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-17-2016 , 17:12   Re: [REQ] Menu System
Reply With Quote #4

Fakeclientcommand I believe, take a look at the API.
__________________
Want to check my plugins ?
Arkarr is offline
Farbror Godis
AlliedModders Donor
Join Date: Feb 2016
Old 08-18-2016 , 05:49   Re: [REQ] Menu System
Reply With Quote #5

Or if you want to do it yourself, use SetEntityMoveType with MOVETYPE_NONE, create a timer, and when the timer has finished set their movetype to MOVETYPE_ISOMETRIC.
__________________
Farbror Godis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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