SRCDS Steam group


SourceMod Coding (L4D)
#1
How do get a toggle for "sv_cheats" to work? (Fixed)

Code:
"ServerCommands" { "admin" "sv_rcon" "SV_Cheats" { "cmd" "sm_rcon sv_cheats #1" "1" { "type" "list" "title" "Sv_Cheats Menu" "1" "1" "1." "On" "2" "0" "2." "Off" } } }

How can I spawn boom and fire? Fixed

Code:
"Spawn Live Explosives" { "cmd" "@1" "1" { "type" "list" "title" "Explosive Type to Drop" "1" "fire" "1." "Molotov" "2" "boom" "2." "Pipe Bomb" } }

How can I get a menu to stay open? I want the weapon select to stay open so I can spawn multiple weapons.
How can I select a person to give weapon too?

Code:
"Leader Commands" { "admin" "sv_rcon" "Spawn Weapons" { "cmd" "give #1" "1" { "type" "list" "title" "Weapon Type to Give" "1" "pistol" "1." "Pistol" "2" "autoshotgun" "2." "Autoshotgun" "3" "rifle" "3." "M16 Rifle" "4" "hunting_rifle" "4." "Ruger Mini-14 Sniper" "5" "pipe_bomb" "5." "Pipe Bomb" "6" "molotov" "6." "Molotov Cocktail" } }

How can I give a weapon to health to a person in L4D? All of these can only give the item to admin that runs the command.

I am running "admincheats.smx" so I can run sv_cheat only commands with it turned off.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)