Raised This Month: $ Target: $400
 0% 

[HELP]Need Help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-31-2017 , 17:30   Re: [HELP]Need Help.
Reply With Quote #1

By the way how can the damage be less than 2?
__________________

Last edited by OciXCrom; 03-31-2017 at 17:30.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-31-2017 , 17:33   Re: [HELP]Need Help.
Reply With Quote #2

I don't know as well, maybe a HE explodes a little far away and takes 1 HP.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-31-2017 at 17:33.
EFFx is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 03-31-2017 , 17:40   Re: [HELP]Need Help.
Reply With Quote #3

i meant the default money hud is doesn't get updated it only be stuck at a number, no judge i don't know how to deal with clamp, i've post the code.
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality

Last edited by yas17sin; 03-31-2017 at 17:40.
yas17sin is offline
Send a message via ICQ to yas17sin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-31-2017 , 17:46   Re: [HELP]Need Help.
Reply With Quote #4

If it's stuck, the problem is in your other plugins. Clamp limits the value of a number between two numbers. You can always consult the API if you don't know how to use it.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 03-31-2017 , 18:07   Re: [HELP]Need Help.
Reply With Quote #5

thanks i understand now, btw i don't run any plugins only this code, and the problem is if i am more than 16***$ and curentley i can't pass 17000$ so when i finsih round the money get back to 16000 the limit doesn't works and i can't see what's wrong with this ? :/.
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality
yas17sin is offline
Send a message via ICQ to yas17sin
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-31-2017 , 18:27   Re: [HELP]Need Help.
Reply With Quote #6

Use an array with [33] size.
Use Array[id]++ and set cs_set_user_money(id, Array[id], 1) at spawn.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Old 03-31-2017, 18:53
yas17sin
This message has been deleted by yas17sin. Reason: okay.
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-31-2017 , 19:05   Re: [HELP]Need Help.
Reply With Quote #8

What is that "Array[33]" ?
__________________








CrazY. is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-31-2017 , 19:15   Re: [HELP]Need Help.
Reply With Quote #9

I meant a global array called g_arArray[33] or something. Array is a tag for other thing.

in TakeDamage put g_arArray[id] += floatround(damage)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-31-2017 at 19:16.
EFFx is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-31-2017 , 22:30   Re: [HELP]Need Help.
Reply With Quote #10

I know about that effx, the yas17 have been deleted the post haha
__________________








CrazY. 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:03.


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