Source SDK

Source SDK

coding question {SOLVED}
how can i make it so that i can sprint ingame without the hev suit? where in the code do i have to change?

edit: ok its solved now, i had to remove "&& IsSuitEquipped()" in line 743
Last edited by name8828; 13 Aug @ 6:53pm
< >
Showing 1-5 of 5 comments
name8828 12 Aug @ 11:26pm 
ok so ive found the part that checks if the suit is equipped but im not sure how to make it sprint without it equipped. here's what i tried so far: https://imgur.com/a/uGnsfjL
Ttiki 13 Aug @ 4:39am 
I think it might be the lines above. Could you share the code (pastebin) or give the URL to the source code ? I can take a look if you want.
name8828 13 Aug @ 4:53am 
Originally posted by Ttiki:
I think it might be the lines above. Could you share the code (pastebin) or give the URL to the source code ? I can take a look if you want.
alright, here: https://pastebin.com/pibFvCSC
Wazanator 13 Aug @ 2:50pm 
Line 743
bool bWantSprint = ( bCanSprint && IsSuitEquipped() && (m_nButtons & IN_SPEED) );

remove && IsSuitEquipped() as that is where it's checking if you have the suit equipped.

Start with that and debug from there.
name8828 13 Aug @ 6:45pm 
Originally posted by Wazanator:
Line 743
bool bWantSprint = ( bCanSprint && IsSuitEquipped() && (m_nButtons & IN_SPEED) );

remove && IsSuitEquipped() as that is where it's checking if you have the suit equipped.

Start with that and debug from there.
thanks
< >
Showing 1-5 of 5 comments
Per page: 1530 50