Raised This Month: $12 Target: $400
 3% 

amx freeze


Post New Thread Reply   
 
Thread Tools Display Modes
repingayok
Senior Member
Join Date: Sep 2008
Old 08-06-2010 , 05:47   Re: amx freeze
Reply With Quote #11

This plugin is not much different from this:
http://forums.alliedmods.net/showthread.php?p=226158
repingayok is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-06-2010 , 05:53   Re: amx freeze
Reply With Quote #12

Quote:
Originally Posted by repingayok View Post
This plugin is not much different from this:
http://forums.alliedmods.net/showthread.php?p=226158
Mine uses only 1 command, has an optional timer, and uses a better way to freeze.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Frizze!
Senior Member
Join Date: Jun 2010
Location: Interested?
Old 08-06-2010 , 19:07   Re: amx freeze
Reply With Quote #13

Nice, very nice.
__________________
Luchitow!
C.A.R.P (L
Los Borrachos del Tablón 14
Frizze! is offline
Send a message via MSN to Frizze!
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-06-2010 , 23:08   Re: amx freeze
Reply With Quote #14

Quote:
Originally Posted by Frizze! View Post
Nice, very nice.
Thanks, let me know if you have some ideas
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2010 , 16:13   Re: amx freeze
Reply With Quote #15

Code:
register_event("CurWeapon", "Event_CurWeapon", "be");

1. You forgot to add filter for active weapon.
2. You could add filter for knife here too.

->

Code:
register_event("CurWeapon", "Event_CurWeapon_NotAKnife", "be", "1=1", "2!29");



3. Such plugins usually allow arguments @ALL/@TERRORIST/@CT
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-07-2010 at 16:16.
ConnorMcLeod is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-07-2010 , 16:39   Re: amx freeze
Reply With Quote #16

I'll add that tomorrow, i don't have much time now.
Could you explain how i should reset the v_angles like you said before, i can't get it working.

Thanks connor.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2010 , 16:47   Re: amx freeze
Reply With Quote #17

When you freeze player, store v_angle in a global var.
Each PreThink or PostThink set them to that value and set fixangle to 1 (or true).
You can see in my migraine plugin how to do that.

Also, if you use a single bit to store frozen player (in a mask) you could easly enable/disable Think forward when no players are frozen.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-07-2010 , 18:00   Re: amx freeze
Reply With Quote #18

i'm on my laptop right now; but i'll try to fix it, thanks connor.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-09-2010 , 06:57   Re: amx freeze
Reply With Quote #19

Updated.

Will do viewangles in next version.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 11-01-2010 , 07:35   Re: amx freeze
Reply With Quote #20

Updated:
Blocked players view when frozen.
used bits to check and set frozen players.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
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 15:50.


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