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 my buying script

Author
Message
Turtle Productions
17
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 30th Dec 2010 11:23 Edited at: 3rd Jan 2011 18:16
Hi! I made a script that will replace the basic weapon.fpi to this


So when player will come close enough, text will appear and if Enter is pressed then -20 health and pick up that weapon. (So health is money)
But it does not work! Anyone who could help me with this?

[EDIT] I got it work better and properly, here's the code:


Thanks,
TP
Turtle Productions
17
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 30th Dec 2010 13:04
Okay, I solved the problem. I had forgot to add ,state=1 from the :state=0 line

//OFF usually all of my probs are that I've missed something in my code

Thanks,
TP
Turtle Productions
17
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 30th Dec 2010 15:09
Again found a bug from it but got fixed it.
For someone who would be looking for this, here is a fixed version of this script:

Login to post a reply

Server time is: 2026-07-22 00:45:20
Your offset time is: 2026-07-22 00:45:20