Raised This Month: $32 Target: $400
 8% 

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 - 218 views - 1.4 KB)
__________________
Taking paid private requests! Contact me

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
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-13-2020 , 14:49   Re: Block +left and +right
Reply With Quote #19

Quote:
Originally Posted by Cruze View Post
Untested.
Someone to fix?
paulo_crash is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 07-13-2020 , 15:18   Re: Block +left and +right
Reply With Quote #20

Quote:
Originally Posted by paulo_crash View Post
Someone to fix?
Give it a shot
Attached Files
File Type: sp Get Plugin or Get Source (turnbind.sp - 111 views - 1.7 KB)
File Type: smx turnbind.smx (12.7 KB, 85 views)
__________________
NanoC is offline
Send a message via Skype™ to NanoC
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 16:08.


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