Raised This Month: $ Target: $400
 0% 

References for custom ranking system?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-21-2013 , 09:48   Re: References for custom ranking system?
Reply With Quote #1

Quote:
Originally Posted by didoWEE View Post
Quote the wrong
1) The code provided will not even compile.
  • You've used full stops in RegisterHam instead of commas.
  • You've mispelt functions.
  • You cannot define a local static variable.
2) PrimaryAttack() is not called on player entities it is called on weapon entities. Therefore the function header is also incorrect.
3) If you were to hook PrimaryAttack() properly, it would still be by far incorrect for stats logging. Read this thread.
4) You've poorly managed weapon checking.
5) Your return constants are inappropriate in terms of the forward type, and you don't return a final value.

Please try and get the basics down before you go and confuse people.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
SLC
Junior Member
Join Date: Apr 2013
Old 05-21-2013 , 10:44   Re: References for custom ranking system?
Reply With Quote #2

@hornet Very very very... Interesting tutorial Thank YOU

So fwPlaybackEvent() would be called each time someone fired a bullet (that means a lot of calls) so my next question would be Is it possible to get the bullet trajectory and who's in range (player point of view) without overloading the processing power on the machine resources?

I could use that to figure if it's an ambush (which will affect the received points of the killer)
PHP Code:
#define KILL_INFO_AMBUSH 20 // Killer and Victim Ambush (Numerical value specifying how much the victim was outnumbered) 
__________________

Last edited by SLC; 05-21-2013 at 11:07.
SLC 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 16:28.


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