This plugin is awesome! Thanks!
I wanted to be able to add it to my admin menu though so I edited my admin custom file with this:
Code:
"Give Player Weapon"
{
"cmd" "sm_give #1 #2"
"execute" "player"
"1"
{
"type" "list"
"title" "Item:"
"1" "ammo"
"1." "Full Ammo"
"2" "pistol"
"2." "Pistol"
"3" "weapon_SMG"
"3." "SMG"
"4" "pumpshotgun"
"4." "Pump Shotgun"
"5" "autoshotgun"
"5." "Auto Shotgun"
"6" "rifle"
"6." "Assault Rifle"
"7" "hunting_rifle"
"7." "Hunting Rifle"
"8" "pipe_bomb"
"8." "Pipe Bomb"
"9" "molotov"
"9." "Molotov"
"10" "gascan"
"10." "Gas Can"
"11" "propane_tank"
"11." "Propane Tank"
"12" "oxygen_tank"
"12." "Oxygen Tank"
"13" "first_aid_kit"
"13." "First Aid Kit"
"14" "pain_pills"
"14." "Pills"
}
"2"
{
"type" "player"
"method" "name"
"title" "Player to Give to"
}
}
"Spawn Special Infected"
{
"cmd" "sm_spawn #1 #2"
"execute" "player"
"1"
{
"type" "list"
"title" "Special Infected:"
"1" "common"
"1." "Common Infected"
"2" "tank"
"2." "Tank"
"3" "witch"
"3." "Witch"
"4" "boomer"
"4." "Boomer"
"5" "hunter"
"5." "Hunter"
"6" "smoker"
"6." "Smoker"
}
"2"
{
"type" "list"
"title" "Number of:"
"1" "1"
"2" "5"
"3" "10"
"4" "20"
"5" "50"
"6" "70"
"7" "100"
}
}
Now giving items to players is so much easier! Thanks again!