Raised This Month: $51 Target: $400
 12% 

[CS:GO Request] Same Guns (Random Guns To All Players)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xyzz
New Member
Join Date: Sep 2013
Old 01-07-2019 , 08:03   [CS:GO Request] Same Guns (Random Guns To All Players)
Reply With Quote #1

I have an idea for a fun and also fair CSGO mod
(Please let me know if it already exists, I have search and couldn't find it.)

I would love a plugin where all players are given the same random gun, and not be able to buy other guns. Players should not have their default pistols, but keep their knife in case they run out of ammo
And then next round, a new random gun is given to all players - the same gun to everyone - but not a gun which has been given the last 4 rounds.

So it would be a round where ALL players have ak47, and then a new round where ALL players have awp, and then a new round where ALL players have Deagle, etc.

The guns could be toggled via commands, where you can enable/disable specific guns, example: "same_guns_weapons_ak47 1" to enable ak47. And "same_guns_weapons_deagle 0" to disable deagle...

It should be possible to play on normal de_* and cs_* maps but also on fy_* maps, so the plugin should remove all weapons from the map (if possible)

Since buying is disabled, it would be nice to give all players armor and helmet, and 1 of each grenade. (this could maybe be toggled via commands, like "same_guns_give_armor 1", "same_guns_give_helmet 1", "same_guns_give_smoke 1", etc.)
All CT's should have defusers (if on de_* map)

Remember not to remove the c4 weapon, so Terrorists can still plant the bomb

I call it "Same Guns" but if you can find a better name that's fine ;)
xyzz is offline
CliptonHeist
Senior Member
Join Date: Feb 2016
Old 01-13-2019 , 22:41   Re: [CS:GO Request] Same Guns (Random Guns To All Players)
Reply With Quote #2

Try this:
Attached Files
File Type: sp Get Plugin or Get Source (sameguns.sp - 334 views - 4.3 KB)
CliptonHeist is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 01-13-2019 , 23:41   Re: [CS:GO Request] Same Guns (Random Guns To All Players)
Reply With Quote #3

Quote:
Originally Posted by CliptonHeist View Post
Try this:
The most complex plugin made from a request, nice job
__________________

Last edited by NanoC; 01-14-2019 at 00:26.
NanoC is offline
Send a message via Skype™ to NanoC
xyzz
New Member
Join Date: Sep 2013
Old 01-14-2019 , 03:05   Re: [CS:GO Request] Same Guns (Random Guns To All Players)
Reply With Quote #4

Quote:
Originally Posted by CliptonHeist View Post
Try this:
Thanks! You are awesome!
I will test this when I get home, cant wait
If it works well I well setup a server with this

Looking from the code I can see it doesnt look like i can disable specific guns, but for v1.0 its great - thanks again!
xyzz is offline
CliptonHeist
Senior Member
Join Date: Feb 2016
Old 01-14-2019 , 04:29   Re: [CS:GO Request] Same Guns (Random Guns To All Players)
Reply With Quote #5

Here's a version with toggling of weapons to give to players. I haven't tested it because I'm about to go to bed but if it doesn't work just go back to using the first version which should have most if not all the kinks worked out and I'll fix this version in the morning.

Edit: New update, just a few small changes such as sm_toggleweapon now being able to be used with aliases e.g. "ak47" as well as "weapon_ak47" interchangeably and a new command sm_listweapons which just lists all the weapons that are currently in the weapons to spawn list.
Attached Files
File Type: sp Get Plugin or Get Source (sameguns.sp - 272 views - 6.9 KB)

Last edited by CliptonHeist; 01-14-2019 at 15:25. Reason: New Version
CliptonHeist is offline
xyzz
New Member
Join Date: Sep 2013
Old 01-16-2019 , 03:06   Re: [CS:GO Request] Same Guns (Random Guns To All Players)
Reply With Quote #6

You're da man
xyzz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode