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 / Carrying 1 weapon

Author
Message
Lucidx
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 1st Jan 2010 20:53


I made this real quick to try to limit the amount of weapons a player can carry to 1. It should work but it doesn't, I can pick up all the weapons in the world in testgame. Any advice?

Lucidx
The Master Dinasty
16
Years of Service
User Offline
Joined: 14th Sep 2008
Location: Valhalla
Posted: 2nd Jan 2010 00:13
Setmaxweaponslot? what mod are you using?
Dont know the answer to your problem but i found something completly useless in your script..


:state=0:State=1
:State=1,


That is useless try just :State=0,setmaxweaponslot=1

-Massap2

Beacause massa is the master!
Staring blankly at the sun waiting for my time to come...
Bigsnake
16
Years of Service
User Offline
Joined: 7th Apr 2009
Location: England
Posted: 2nd Jan 2010 00:32
setmaxweaponslot isnt a command, ive never seen it in a mod aswell

fpsc-world, fpsc fan site
Vista, Amd Athlon 7750 (64 bit + Dual Core), ATI Readon HD 4870 1gb Edition, 4gb Ram.
Marc Steene
FPSC Master
19
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 2nd Jan 2010 00:46
It's Project Blue I believe.

Try:



That should work. If not then it must be a problem relating to the mod.


I USED TO BE MARC STEENE
Lucidx
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 2nd Jan 2010 06:06
Thanks Marc Steene works perfectly

Lucidx
Marc Steene
FPSC Master
19
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 2nd Jan 2010 09:22
No problem


I USED TO BE MARC STEENE

Login to post a reply

Server time is: 2025-05-26 01:24:54
Your offset time is: 2025-05-26 01:24:54