Freeze Code
How i freeze the player per 10 seconds...
OBS: If the player stwich the weapon your maxspeed is set to default. I have tryed with this code: PHP Code:
Any other code without CurWeapon? :D OBS: this code are used at blocks, like bm. |
Re: Freeze Code
Show the code. That have to work perfect.
|
Re: Freeze Code
try to use set_task. like
set_task(1.0,"my_timer") public my_timer() { the_time++ if(the_time < 10) set_user_maxspeed(id,0) else set_user_maxspeed(id,320) } somthing like this |
Re: Freeze Code
Afaik, you shouldn't be setting the FL_FROZEN flag in CurWeapon
|
Re: Freeze Code
Quote:
Quote:
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 18:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.