well to be honest, it's not as good as the other retake plugin but i ensure you this one can handle a 2vs2 match very easily!
and it's not been made to create a duplicate plugins, it's just release for you to use in case you want to have 2 vs 2 tournament.
Admin Commands (Flag "z"):
sm_emode --> Enter edit mode (required to be able to add spawns).
sm_addspawn --> used to add spawns.
sm_addbomb --> used to set where bomber will spawn.
sm_forcestop , sm_fs --> stop the current in progress retake match.
Player Commands:
sm_ready --> will mark you as ready.
sm_unready --> will mark you as unready.
ConVars:
sm_max_ready_num "4" --> number of ready players needed to start the match.
sm_use_ready_sys "1" --> Enable or disable ready system. (enabling it after disabling will require a round restart)
Adding Spawns:
okay, i've already set those needed maps for a 2vs2 tounament but if you want to edit them or hate them! you can add your own like this:
Step 1: Add your CT spawns:
- To add Ct spawns for A or B side you'll need to enter edit mode first! after that you'll need to type this into conosle:
- sm_addspawn SideName TeamName SpawnNum
- SideNames are A and B, TeamNames are CT and T, SpawnNum is the number of spawn to get
Note : please add spawns on a correct order and do not jump onto numbers!
Example : sm_addspawn B CT 1
Step 2: Add you T spawns:
- Just like how you did for CT just change CT to T on second argument.
Note : do not forget to set them for both sides.
Step 3: Add bomber spawn:
- sm_addbomb SideName
- Just stand somewhere good and use sm_addbomb A or B to set bomber spawn point.
Note: try to set one less spawn for T cause one on them will always be the bomber and then both teams will equal.
Configure Guns:
the configurations of guns.ini will be like this, description is also included in this example.
NOTE: you can leave Team key empty to make a gun public.
PHP Code:
Code: Select all
"guns"
{
"Primary"
{
"Name" "Name of menu option"
"Title" "title of menu"
"Type" "Don't even look at this!"
"AnyThing"
{
"Name" "weapon name"
"ClassName" "weapon classname (i.e weapon_ak47)"
"Team" "team number (2 = T, 3 = CT)"
"Stay" "whether the weapon stays after team change or not (recommended to be used with public weapons)"
"u_id" "unique menu id without space"
}
}
"Pistols"
{
"Name" "Name of menu option"
"Title" "title of menu"
"Type" "Don't even look at this!"
"AnyThing"
{
"Name" "weapon name"
"ClassName" "weapon classname (i.e weapon_hkp2000)"
"Team" "team number (2 = T, 3 = CT)"
"Stay" "whether the weapon stays after team change or not (recommended to be used with public weapons)"
"u_id" "unique menu id without space"
}
}
}
Download