Raised This Month: $ Target: $400
 0% 

Freeze doesnt apply


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 03-30-2021 , 01:01   Re: Freeze doesnt apply
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Where is the code that detects pressing E?
Also, setting maxspeed to 1 is not a good way of freezeing someone.

Code:
set_player_freeze(id, bool:bFreeze) {     if(bFreeze)     {         set_pev(id, pev_flags, pev(id, pev_flags) | FL_FROZEN)     }     else     {         set_pev(id, pev_flags, pev(id, pev_flags) &~ FL_FROZEN)     } }
Your code looks a bit confusing for a beginner like me... Anything similar to mine there is? Anything why it doesnt work...
HowToRuski is offline
 



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 23:23.


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