Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------
- --Players Loadout
- ---------------------------------
- function GM:PlayerLoadout( ply )
- if ply:Team() == TEAM_SPECTATE then return end
- if ply:Team() == TEAM_BLUE || ply:Team() == TEAM_RED then
- if GetConVarNumber("psw_weaponSabre")>=1 then
- ply:Give("weapon_psw_sabre")
- end
- if GetConVarNumber("psw_weaponGrenade")>=1 then
- ply:Give("weapon_psw_grenade")
- end
- if GetConVarNumber("psw_weaponmusket")>=1 then
- ply:Give("weapon_psw_musket")
- end
- if ( ply:IsAdmin() or ply:IsSuperAdmin() ) then
- ply:Give("weapon_physgun")
- ply:Give("weapon_smg1")
- ply:GiveAmmo(100,"smg1")
- end
- if ply:IsUserGroup( "moderator" ) then
- ply:Give("weapon_physgun")
- ply:Give("weapon_smg1")
- ply:GiveAmmo(100,"smg1")
- end
- if ply:IsUserGroup( "sponsor" ) then
- ply:Give("weapon_rpg")
- ply:Give("weapon_crossbow")
- ply:Give("weapon_smg1")
- ply:GiveAmmo(5,"rpg")
- ply:GiveAmmo(10,"crossbow")
- ply:GiveAmmo(100,"smg1")
- end
- if ply:IsUserGroup( "donator" ) then
- ply:Give("weapon_smg1")
- ply:GiveAmmo(100,"smg1")
- end
- ply:GiveAmmo(21,"pistol");
- end
- if ply:Team() == TEAM_RED then
- if GetConVarNumber("psw_weaponPistol")>=1 then
- ply:Give("weapon_psw_pistol2")
- end
- end
- if ply:Team() == TEAM_BLUE then
- if GetConVarNumber("psw_weaponPistol")>=1 then
- ply:Give("weapon_psw_pistol2") // weapon_psw_pistol2
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement