Catching 10sec beginning of the round
I want to add an option, that if player type '' hi '' , cmdSayHI opens, but only if max 10sec, so:
Round starts, I type '' hi '' cmdSayHI begins, but if 10seconds are passed in the round and I try to type '' hi '' it says in chat to the user: 10 seconds already passed! It should be this function with this '' 10 seconds '' option. PHP Code:
|
Re: Catching 10sec beginning of the round
you could get the time @ start round + mp_freezetime - gametime = the_diffrent
if the_diffrent > 10 , then block the say cmd. but i dont know how you can block the say cmd . |
Re: Catching 10sec beginning of the round
here some code:
PHP Code:
|
Re: Catching 10sec beginning of the round
Tried and I think it isn't that what I wanted.
PHP Code:
|
Re: Catching 10sec beginning of the round
PHP Code:
|
| All times are GMT -4. The time now is 17:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.