Raised This Month: $13 Target: $400
 3% 

Block +left and +right


Post New Thread Reply   
 
Thread Tools Display Modes
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 12-17-2011 , 21:11   Re: Block +left and +right
Reply With Quote #11

Quote:
Originally Posted by poppin-fresh View Post
sm_stop is a command for our bhop server that stops their timr
Yeah, but this then need to be send by the client right?
Or have your timer some natives, or commands like.
Code:
sm_stop <#name|#userid>
Yours sincerely
Impact
__________________

Last edited by Impact123; 12-17-2011 at 21:12.
Impact123 is offline
poppin-fresh
AlliedModders Donor
Join Date: Aug 2010
Old 12-18-2011 , 01:04   Re: Block +left and +right
Reply With Quote #12

it needs to be sent by the client yes.
Or you can use sm_fexec <client> "say /stop"
poppin-fresh is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 12-18-2011 , 01:17   Re: Block +left and +right
Reply With Quote #13

Try this and tell me if it works for you.
I don't really like to script that way, but if somebody is happy about it, why not
I've commented what i did, so you understand.
Spoiler

Feel free to edit and compile it then with the webcompiler

Yours sincerely
Impact
__________________

Last edited by Impact123; 12-18-2011 at 01:18.
Impact123 is offline
poppin-fresh
AlliedModders Donor
Join Date: Aug 2010
Old 12-18-2011 , 01:47   Re: Block +left and +right
Reply With Quote #14

Thanks heaps! Works like a charm
poppin-fresh is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 06-28-2020 , 16:46   Re: Block +left and +right
Reply With Quote #15

Quote:
Originally Posted by Afronanny View Post
Well this will do it.

Convar:
sm_leftright_method (Default is 1)

Possible values are:
1 to block it
2 to kick them
Could anyone update this version?

I would like that before the player is kicked he receives a message, "You are using +left or +right, disable or will be kicked in 15 seconds"

Was something like this possible?
__________________

Last edited by paulo_crash; 06-28-2020 at 16:48.
paulo_crash is offline
Cruze
Veteran Member
Join Date: May 2017
Old 07-01-2020 , 07:23   Re: Block +left and +right
Reply With Quote #16

Untested.
Attached Files
File Type: sp Get Plugin or Get Source (turnbind.sp - 16 views - 1.4 KB)
__________________
Taking paid private requests! Add me on steam/discord!

AlliedModders Releases | Github | Private Plugins | PayPal | Steam | Discord: Cruze#4947

Last edited by Cruze; 07-01-2020 at 07:24.
Cruze is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-01-2020 , 14:53   Re: Block +left and +right
Reply With Quote #17

Quote:
Originally Posted by Cruze View Post
Untested.
Thank you, I will test.

[EDIT]
@Cruze didn't work, I sent it to the server, typed in the console +left and +right and nothing happened, I waited 15 seconds too and nothing.
__________________

Last edited by paulo_crash; 07-04-2020 at 20:44.
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-04-2020 , 20:44   Re: Block +left and +right
Reply With Quote #18

Quote:
Originally Posted by paulo_crash View Post
Thank you, I will test.

[EDIT]
@Cruze didn't work, I sent it to the server, typed in the console +left and +right and nothing happened, I waited 15 seconds too and nothing.
@Cruze, did you get a check? Passed version did not work.
__________________
paulo_crash is offline
Reply


Thread Tools
Display Modes

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 18:51.


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