Raised This Month: $ Target: $400
 0% 

No recoil on single weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-26-2010 , 10:42   No recoil on single weapons
Reply With Quote #1

NVM Fixed!
__________________

Last edited by The Art of War; 02-26-2010 at 14:32.
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-26-2010 , 13:29   Re: No recoil on single weapons
Reply With Quote #2

PHP Code:
new weaponid get_user_weapon(id)

if ( 
shModActive() && gHasAgent[id] && is_user_alive(id) && weaponid == CSW_AK47
This checks, well, I am sure you can see what it checks.
Also, did you rip agent zero entirely, or are you using code from it, and edit US Ranger?
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-27-2010 , 08:26   Re: No recoil on single weapons
Reply With Quote #3

Just to make it clear for people that would like to make this and dont know how to do it: Do as Jelle says, but change gHasAgent (Agent) to whatever your bool is.

I did not rip agentz entirely, and no, I did not use USRanger (lol it has no No Recoil code Jelle... ). It didnt worked because I had an old version with public server_frame instead of public PreThink lol
__________________
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-27-2010 , 14:46   Re: No recoil on single weapons
Reply With Quote #4

Well. You could have ripped USRanger (I know you like that), and just copied the code from AgentZero to USRanger. You'll never know..
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-27-2010 , 15:13   Re: No recoil on single weapons
Reply With Quote #5

True, I coded it 1.2 ways, but it was not a rip of USR xD
__________________
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-27-2010 , 15:21   Re: No recoil on single weapons
Reply With Quote #6

As I wrote... You never know..
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Reply



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 11:31.


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