Raised This Month: $ Target: $400
 0% 

Unknow misterious stack error...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-21-2014 , 15:33   Re: Unknow misterious stack error...
Reply With Quote #1

Why are you setting player money in such way? Just use cs_set_user_money(), there is nothing wrong with it. All that "Money" message stuff is unnecessary. Not sure, but that may be causing crashes.
And you should use min() instead of clamp() in this situation, it is more suitable.
klippy is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 07-21-2014 , 15:45   Re: Unknow misterious stack error...
Reply With Quote #2

I agree with KliPPy

Also, you are not checking if attacker is a valid player
__________________
Hey ^_^
NikKOo31 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 13:07.


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