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

open new menu by command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 09-08-2022 , 13:24   open new menu by command
Reply With Quote #1

hi, how can i make client open a new menu by somewhat different than client_cmd? client_cmd is kinda of a slowhack , so how can i make him say in console it in different way? because i have 2 different plugins, and the second one has a command line in console to open it

Last edited by HowToRuski; 09-08-2022 at 13:26.
HowToRuski is offline
zXCaptainXz
Member
Join Date: May 2017
Old 09-08-2022 , 14:46   Re: open new menu by command
Reply With Quote #2

In the plugin which contains the menu, create a native to open it, then call the native from the other plugin.
zXCaptainXz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-08-2022 , 23:36   Re: open new menu by command
Reply With Quote #3

You can send a command to the server for AMX Mod X to process as if the player had sent it using amxclient_cmd().
__________________
fysiks 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 23:45.


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