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 / Help with Weapn Switch Scipt ( Project Blue )

Author
Message
Shakleford
FPSC Reloaded TGC Backer
14
Years of Service
User Offline
Joined: 15th Jun 2010
Location: on the flip side
Posted: 22nd May 2011 19:14 Edited at: 24th May 2011 14:07
I need some help with a script I am working on. The guns swap fine but the new gun doesnt show when the switch happens. I have to press 1 or mouse wheel to bring it up.





Edit I am also having trouble with a script that slows the players speed as his health decreases.

The players speed will go down, but if I pick up a health after getting hurt, and my health goes all the way up, the speed stays the same as before the health pickup. Ive tried it multiple ways.





If a mod stops by please change the thread title to "Help with weapon switch and health script"

I recently learned to sleep with my eyes open. ..... God am I tired
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 28th May 2011 01:54
The whole "state" thing isn't needed.
Try this:




If that doesn't work try this:


The whole "state" thing isn't needed.
Try this:




I hope this works for you.


Cheers.

God help me, Please.
Shakleford
FPSC Reloaded TGC Backer
14
Years of Service
User Offline
Joined: 15th Jun 2010
Location: on the flip side
Posted: 28th May 2011 08:07 Edited at: 28th May 2011 08:11
@2Beastmode4u: Thanx dude, just had to add "less" and "greater" to the "plrhealth"s. Worked perfectly though. Thanx Again


Edit: LOL I just noticed you posted it twice, I copied the one that just had "plrhealth". I guess I should have looked more closely, would have saved me a few mins. Again thanks for your help.

I recently learned to sleep with my eyes open. ..... God am I tired

Login to post a reply

Server time is: 2024-11-24 08:51:23
Your offset time is: 2024-11-24 08:51:23