Raised This Month: $ Target: $400
 0% 

Anyway to alter firing rate of a gun?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-24-2005 , 13:51   Anyway to alter firing rate of a gun?
Reply With Quote #1

Well, I was thinking of altering the rate at which a gun fires, for example, I want the mac10 to have a slower firing rate, is it possible? Or is it not?
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-24-2005 , 16:04  
Reply With Quote #2

You'd have to change the player's m_flNextAttack and the weapon's m_flNextPrimaryAttack, which I thought might be possible via private data hacking but Suzuka tells me it is impossible.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-24-2005 , 17:14  
Reply With Quote #3

Private data hacking? What was your idea of going about it?
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-24-2005 , 17:39  
Reply With Quote #4

get_pdata_float
set_pdata_float

Also a plugin I got from somewhere (PM I think it was) that dumps all private data from x to y in a given entity.

EDIT: After a harsh conversation, Suzuka just instilled in me much fear. Also the fact that you can't get or set that information.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
leakgfhp
Member
Join Date: Apr 2005
Old 09-24-2005 , 23:09  
Reply With Quote #5

2 forwards? UpdateClientData or UpdateClientData_Post ?
leakgfhp is offline
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 18:14.


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