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

Shove Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 09-25-2007 , 14:04   Re: Shove Mod
Reply With Quote #11

I never thought of that. I might fix it and give you credits It should increase the plugins performance, so its a good chance I will when I get home.

Thanks
Styles is offline
Send a message via AIM to Styles
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-25-2007 , 14:22   Re: Shove Mod
Reply With Quote #12

I think that credit go to Hawk552 for his tut :

http://forums.alliedmods.net/showthread.php?t=43049
ConnorMcLeod is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 09-25-2007 , 21:11   Re: Shove Mod
Reply With Quote #13

To tell you the truth, I never looked at him. He just helped me on aim and he does have credit He showed me how velocity works and takes in the types of 3 cells ect.. I converted it to FakeMeta.
Styles is offline
Send a message via AIM to Styles
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 09-26-2007 , 15:38   Re: Shove Mod
Reply With Quote #14

They way you have the cvar setup will not allow you for dynamic switching in game. To make it switchable in game, you will have to put the check in FM prethink. To make it faster, use a cvar pointer, not the name.
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 09-26-2007 , 19:41   Re: Shove Mod
Reply With Quote #15

Wait, First I know about the "E" switching in game. I didn't want to waste time registering something if its not going to be used. I thought that would be best. And as for
Quote:
To make it faster, use a cvar pointer, not the name.
what do you mean by that?
Styles is offline
Send a message via AIM to Styles
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-26-2007 , 23:19   Re: Shove Mod
Reply With Quote #16

Quote:
Originally Posted by styles View Post
what do you mean by that?
Read the comment here. It is faster if you do cvars this way. http://www.amxmodx.org/funcwiki.php?go=func&id=1059
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 09-27-2007 , 15:56   Re: Shove Mod
Reply With Quote #17

Errrm he never set values for the cvars anywhere other than when registerring them and he already used pcvars when accessing them.
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 09-27-2007 , 21:31   Re: Shove Mod
Reply With Quote #18

Right so somebody adds cvar 1 in server.cfg it sets it... and I don't get how it how it isn't effective the way i did it.
Styles is offline
Send a message via AIM to Styles
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-01-2007 , 06:32   Re: Shove Mod
Reply With Quote #19

pointer cvars

pcvar

Their in many plugins as you can read them

But admin push is very vicious to other members lol, i might have to try this for sure.
__________________
bmann_420 is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 10-01-2007 , 13:35   Re: Shove Mod
Reply With Quote #20

Updated It!
Now you can use +use and change the cvar during the game.
I like set tasks. I can't test the get_systime() right now so that will be another fix later.
Styles is offline
Send a message via AIM to Styles
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 04:46.


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