Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → This cog takes away hosts guns :-\
This cog takes away hosts guns :-\
2002-01-06, 9:12 AM #1
Ok, whenever someone walks into a sector, it should take away their guns, but for some reason, it takes away the hosts guns when anyone walks into it. I have no idea how to fix this (probably something to do with MP), but yeh, I sorta need it by the end of today :-\

Heres the code as is:
Code:
Symbols
Message Entered
Sector Target
Int I=2        Local
End

Code
Entered:
SelectWeapon(JKgetlocalplayer(), 1);
For(I=2; I<=9; I=I+1) {
SetInv(JKgetlocalplayer(), I, 0.0);}
Stop;
End
In my mind I can see your face, as Your love pours down in a shower of grace. Some people tell me that Your just a dream, but my faith is the evidence of things unseen.

Once upon a time God spoke to me, and then I was never the same again.

_-=MaTRiX=-_
2002-01-06, 9:41 AM #2
Considering Im the one that orginally wrote this bloody thing, I should fix it... [http://forums.massassi.net/html/tongue.gif]

Code:
#01/2002 GBK
Symbols
Message Entered
Sector Target
Int I=0        Local
Thing Player   Local
End
Code
Entered:
Player = Getsourceref();
SelectWeapon(Player, 1);
For(I=2;I<=9;I=I+1) {
SetInv(Player, I, 0.0);}
Stop;
End


Havent tested it, but it should work.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!