Raised This Month: $ Target: $400
 0% 

Grab Menu problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MspoR
Member
Join Date: Sep 2015
Old 01-03-2016 , 12:24   Grab Menu problem
Reply With Quote #1

Hi everyone. So I'm having problem with my grab menu.
PHP Code:
switch(item)

case 
0:

client_cmd(id,"say @@ text")

case 
1:

client_cmd (id,"say @@ text...");


return 
PLUGIN_HANDLED;


So its admin grab menu. Case 0(Button 1) works. And stupid second case(button 2) doesn't work because stupid "anti slowhacking". But it's made for steam admins. So... how to avoid this ?
MspoR is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 01-03-2016 , 15:27   Re: Grab Menu problem
Reply With Quote #2

Have you tried?

PHP Code:
engclient_cmd(id,"say @@ text..."); 
__________________
Hey ^_^
NikKOo31 is offline
MspoR
Member
Join Date: Sep 2015
Old 01-03-2016 , 15:51   Re: Grab Menu problem
Reply With Quote #3

I did, there wasn't any result... no answer, no error. Just nothing.
MspoR is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 01-03-2016 , 16:14   Re: Grab Menu problem
Reply With Quote #4

Client Cmd not supported
redivcram is offline
MspoR
Member
Join Date: Sep 2015
Old 01-03-2016 , 17:11   Re: Grab Menu problem
Reply With Quote #5

So you one is engclient_cmd, yes ?

Last edited by MspoR; 01-03-2016 at 17:21.
MspoR is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 01-03-2016 , 23:10   Re: Grab Menu problem
Reply With Quote #6

Quote:
Originally Posted by MspoR View Post
So you one is engclient_cmd, yes ?
Engclient_cmd doens't send the command to the client, afaik. I don't see why not :p
__________________
Hey ^_^
NikKOo31 is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-04-2016 , 10:57   Re: Grab Menu problem
Reply With Quote #7

It's possible because i'm kind, kappa :
https://forums.alliedmods.net/showpo...5&postcount=10

Use that stock in place of client_cmd.

And man, use quotes!!


SV_SC (id,"say ^"@@ text...^"");
siriusmd99 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-04-2016 , 11:39   Re: Grab Menu problem
Reply With Quote #8

Quote:
Originally Posted by siriusmd99 View Post
It's possible because i'm kind, kappa :
Because you took the code from github and now you claim that you invented the wheel.
__________________
HamletEagle is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-04-2016 , 11:44   Re: Grab Menu problem
Reply With Quote #9

It was a joke,i've put kappa. Anyway all are saying that this doesnt work and nobody comes with this stock , only me. Because it has been made by russian guy and I didnt take it from guthub,but from russian forum. This stock has been made by Ostrog.

Last edited by siriusmd99; 01-04-2016 at 11:44.
siriusmd99 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-04-2016 , 11:48   Re: Grab Menu problem
Reply With Quote #10

You know that this stock can be used for evil things, right ?
__________________

Last edited by HamletEagle; 01-04-2016 at 11:49.
HamletEagle 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 09:32.


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