Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / I'm having a big problem with my script. Please help!

Author
Message
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 20th Sep 2009 22:56


I'm trying to make a script so that when you walk into a swamp, you slow down, and when you exit, your speed goes back to normal (note that I don't want this to affect enemies) I'm using Fenix Mod, and I just can't figure out what's wrong! Thanks in advance,
DestroyerHive

If every millisecond in your life was 10 problems in the world, you'd be immortal
General Jackson
User Banned
Posted: 21st Sep 2009 00:10
I cant get plrspeed command to work either, hockeykid says it works fine but it doesnt

(\__/)
(O.o )
(> < ) Bunny is now in my sig. Why? because bunnys da best and ya cant argue with that!
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 21st Sep 2009 08:30
It should work.


Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 21st Sep 2009 14:23
Ill test this when i get home.

Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 21st Sep 2009 18:46
it does work but it's not (playerspeed=X) it's (plrspeed=X)

Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 22nd Sep 2009 00:33
Quote: "it does work but it's not (playerspeed=X) it's (plrspeed=X)
"


No its playerspeed=x


It doesn't work because your script is wrong, you started at
state=1 you need to start at state=0

Fixed below:


DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 22nd Sep 2009 22:15
Really? I'm very new to scripting so thanks, I'll post back when I try that out. Thanks!

If every millisecond in your life was 10 problems in the world, you'd be immortal
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 22nd Sep 2009 23:00
Okay, I'm back and here's the report:
When I enter the triggerzone, the crouch is disabled and the jump is shorter, but that's it! I can't get the speed to slow down. Thanks in advance, and also, is there any script that disables sprint?
Here's the code I'm currently using (updated since first attempt):



If every millisecond in your life was 10 problems in the world, you'd be immortal

Login to post a reply

Server time is: 2024-11-25 06:58:39
Your offset time is: 2024-11-25 06:58:39