Raised This Month: $ Target: $400
 0% 

Player Transfer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 08-16-2018 , 06:33   Re: Player Transfer
Reply With Quote #1

Plugin even throws error in console. You just posted here code without checking console? error is that the (ctKills / ctDeaths) you dividing by zero.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
LemoNSK
Member
Join Date: Jul 2018
Location: Criminal Underworld
Old 08-16-2018 , 08:20   Re: Player Transfer
Reply With Quote #2

Quote:
Originally Posted by Ghosted View Post
Plugin even throws error in console. You just posted here code without checking console? error is that the (ctKills / ctDeaths) you dividing by zero.
Yea, it is divided by zero when you or enemy has zero deaths or kills. I understand this. But if they have both above zero, it does the error I provided you with at the top of this page.
LemoNSK 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 12:29.


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