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 Product Chat / Press a button and make weapon appear

Author
Message
nikas
15
Years of Service
User Offline
Joined: 23rd Apr 2009
Location:
Posted: 22nd Aug 2009 04:25
Is there any way to pres a button and make weapon appear like a place where you have to press g for a gun and the gun appears...

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 22nd Aug 2009 08:25
Yes, by making a script activate an entity when a certain button is pressed, how exactly to do such a thing should be asked in the scripting forums.

It's not the world that turns against you, it's you that turns against the world.
shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 22nd Aug 2009 12:09
get a light switch, don't edit it apart from where it says if used, write gun instead of light. (it doesn't have to be gun but it does make it simpler)

then, place the gun you want to pick up somewhere close, then re-name it to gun and set it so spawn at start=no.
then, in-game when you press enter on the switch the gun will apppear.

BTW i know this isn't what you want but it is close.

Login to post a reply

Server time is: 2024-10-12 23:21:22
Your offset time is: 2024-10-12 23:21:22