Gameplay and weapons

Hello everyone, I hope you are well.

you guys know if you can set up a knife only game mode.

Example, I have the server as TDM and DM mode. in TDM that it can be played normally with all weapons, but if they choose DM that it can only be played with a knife.

thanks for your help

@MAD_DAD , Hello friend, how are you? I hope you are well. I have a question about this topic, I know there are files in main_shared/maps/mp/gametypes and there is the dm.gsx. You could give an order to that file so that you can only choose a knife.

Thanks, as always

As far as I know it’s not that simple to have a knife only server.

You have to take all weapons and give a pistol but remove bullets as the knife is not a weapon on its own. You would have to do it for bots and players.

ok, that means that if you can. but my question is It will be like a sniper script that you gave me. and this would have to be loaded in
main_shared/maps/mp/gametypes/dm.gsx

I wouldn’t touch the dm.gsx
you could run it as a stand alone script like the sniper one

1 Like