Raised This Month: $32 Target: $400
 8% 

...


Post New Thread Reply   
 
Thread Tools Display Modes
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2021 , 02:00   Re: Ham_Touch
Reply With Quote #11

Touch forward is called depending on the player FPS.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Cristian505
Senior Member
Join Date: Oct 2020
Old 10-14-2021 , 07:33   Re: Ham_Touch
Reply With Quote #12

...

Last edited by Cristian505; 08-10-2022 at 14:23.
Cristian505 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2021 , 08:56   Re: Ham_Touch
Reply With Quote #13

Quote:
Originally Posted by Cristian505 View Post
Not in my case. I have good fps
Yeah i wasn't questioning your fps rate but rather letting you know that the touch forward is called many times per second so you need to avoid changing the entity solid type on touch.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 10-14-2021 at 08:59.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Cristian505
Senior Member
Join Date: Oct 2020
Old 10-14-2021 , 09:12   Re: Ham_Touch
Reply With Quote #14

...

Last edited by Cristian505; 08-10-2022 at 14:23.
Cristian505 is offline
LondoN
Senior Member
Join Date: Dec 2015
Location: Roman, Romania.
Old 10-18-2021 , 07:05   Re: Ham_Touch
Reply With Quote #15

As i can see you are try to compare a string with an entity id.

i think correct should be

new ent = engfunc...create ent

public ham_touch(parms)
{
if(iEntity == ent)
{
set_pev(iEntity, pev_movetype, any:...);
}
}

you get it...
__________________
LondoN is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-22-2021 , 08:40   Re: Ham_Touch
Reply With Quote #16

What the fuck do you mean "true scripters"? All you did was say "how to fix this" and post a piece of code, how are people supposed to know what you are trying to do and what the problem is? If you have a crystal ball or something that elevate your smartness level to other universe, good for you, I don't know about others but I don't have one, so you need to be clear. I'm trying to do X thing, X thing is not working, dot. Now think if were you, trying to help someone and the guy just give you 3000 lines of code and say "how to fix this", it's literally what you did except for the number of lines. You ended up solving your own problem, why? Because nobody understood you, there isn't really a question here, again all you did was write "how to fix this" and give a bunch of lines of code. Don't even bother answering all of this

Not to mention that if someone had helped you, the solution would be here available to everyone who ever face a similar "problem" in the future but you just said "nvm I fixed it" and didn't post the solution, although there is nothing that says what the problem is so this is just a waste of database space. So "bro"

CrazY. is offline
Cristian505
Senior Member
Join Date: Oct 2020
Old 10-22-2021 , 12:50   Re: Ham_Touch
Reply With Quote #17

...

Last edited by Cristian505; 08-10-2022 at 14:24.
Cristian505 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 23:31.


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