Raised This Month: $ Target: $400
 0% 

ptouched and kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-07-2022 , 14:31   Re: ptouched and kill
Reply With Quote #1

Thats because touch forward is called many times per second, and you need to make the dead player think after setting his hp to -1 or you can simply set touched player dead flag, ill fix my code and you better use it because youre doing alot of useless checks in addition creating new variables in a forward that is called many times per sec which youre working the cpu hard, and we don't want to make the cpu work hard or it gets upset.


Code in the post was edited!
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 02-07-2022 at 14:48.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Arje
Senior Member
Join Date: Apr 2020
Location: Córdoba, Argentina
Old 02-07-2022 , 14:45   Re: ptouched and kill
Reply With Quote #2

ok thanks if you can make the previous code work correctly I will use it, for now the last one I uploaded works

I don't understand much about how to do that to overload the CPU, I'm quite new to this but thanks for the help
Arje 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 11:40.


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