Author Topic: No Jets  (Read 868 times)

Code: [Select]
function servercmdjetsoff(%client)
{
PlayerStandardArmor.canjet = 0;
announce('Jets are turned off.');
}

That's just a draft, but how can I get this script to actually work? Thanks.

As far as I know, you can't change datablock values mid-game. You'd have to set everyone's datablock to the noJet player. I assume that'd use a for() loop, but there's probably a better way so don't hold me on that.

Also, if you changed everybody's datablock then you'd have to re-apply their appearances as well as making sure they spawn with the correct datablock too.

As far as I know, you can't change datablock values mid-game. You'd have to set everyone's datablock to the noJet player. I assume that'd use a for() loop, but there's probably a better way so don't hold me on that.
Yes you can change them mid-game. However, the clients wont see the changes till they rejoin. If you change it before anyone even joins, then it should all be fine.

Yes you can change them mid-game. However, the clients wont see the changes till they rejoin.
Yeah, they will. You can set their datablock to anything you want as long as you don't make a new datablock.

Other people will see "jet particles" beneath their feet and glitch a bit (moving up and down) if they try to jet when you use the command, before rejoining the server.

Yes you can change them mid-game. However, the clients wont see the changes till they rejoin.
Yeah, they will. You can set their datablock to anything you want as long as you don't make a new datablock.
I said changing datablock values, not changing datablocks.