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 / need help with turret script (FENIX MOD)

Author
Message
EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 31st Jan 2010 04:37
wel i'm tryin to make a script that does this:

when player is near and presses "F" he picks up the weapon
than it disables player movement (walk, run, crouch, jump, peak) and disables weapon switcing (not in there yet)
when player presses "G" everything is enabled again and drops the weapon.

here is the script


thanks in advance

EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 31st Jan 2010 19:59
can anyone help?

Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 31st Jan 2010 20:59


You had a few mistakes, but I fixed them.

NOTE: I made it so you both pickup and drop the turret with 'F'.

EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 31st Jan 2010 23:27 Edited at: 1st Feb 2010 00:02
thanks Hockeykid this was my first script so i knew there would be mistakes

EDIT
it works except "F" doesn't drop it. i'll try to fix that to my best

zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 1st Feb 2010 00:23
Try this


Hope This Helps
EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 1st Feb 2010 01:01
thanks, but it still doesn't drop

DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 3rd Feb 2010 23:37
Wow, great script. Unfortunately, no, it doesn't drop.

And would there be a way to automatically activate iron sights?

http://www.uncaged.co.uk/pg.htm
"The hottest place in Hell is reserved for those who remain neutral in times of great moral conflict" - M.L.K.J.
Stop P&G from testing on animals.
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 3rd Feb 2010 23:46
Quote: "thanks, but it still doesn't drop"


Make sure your gun is always active.

EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 4th Feb 2010 21:08
will do.

by th way i'm trying to make basic scripts that only work in Fenix Mod so if any of them work i'll give them to you to be put into the Fenix mod download

Bigsnake
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: England
Posted: 11th May 2010 23:14
Lol, you both failed at fixing it

I found the problem, there was a , instead of a : infront of a state




See how that runs and let me know

Windows 7, Amd Athlon 7750 Black Editon (64 bit,3ghz + Dual Core), ATI Readon HD 4870 1gb Edition, 4gb Ram.
Team Vent
15
Years of Service
User Offline
Joined: 31st Jul 2009
Location:
Posted: 13th May 2010 19:14
Tried it out, works fine Bigsnake!

Login to post a reply

Server time is: 2024-11-25 00:53:00
Your offset time is: 2024-11-25 00:53:00