If you kill a teammate twice, banned.
Hey guys, I registered an event, that it'll hopefully work, that like the title says, if you TK twice you get banned for 1 minute, for some reason it doesnt work, maybe the register i did is not correct since im not familliar with it:
PHP Code:
|
Re: If you kill a teammate twice, banned.
"mp_autokick 1"
|
Re: If you kill a teammate twice, banned.
Thanks but no thanks, can someone now please tell me whats wrong with my code?
mp_autokick just kicks him if he TKs, and not at the number of times I want, except that, it doesnt ban, the player can get kicked, relog, and TK again, so no thanks. |
Re: If you kill a teammate twice, banned.
"Enables automatic team-killer banning."
|
Re: If you kill a teammate twice, banned.
Dude, just leave that mp_autokick alone, if you can't help me with the code i posted dont. Still thanks for the suggestion.
|
Re: If you kill a teammate twice, banned.
PHP Code:
PHP Code:
Im 99% sure about thats the bug. |
Re: If you kill a teammate twice, banned.
I said in the code..... g_IsStarted is true when a MATCH STARTS, you dont see it here cuz i didnt post the code, once again, i tested it, and g_IsStarted turns true.
|
Re: If you kill a teammate twice, banned.
Debug it then.
|
Re: If you kill a teammate twice, banned.
...... I did, the reason I post here is because I've already done it and can't figure out whats going on.
|
Re: If you kill a teammate twice, banned.
Quote:
|
All times are GMT -4. The time now is 17:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.