Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile( "cl_init.lua" )
- AddCSLuaFile( "shared.lua" )
- include( 'shared.lua' )
- function GM:PlayerInitialSpawn( ply )
- ply:GiveAmmo( 200, "ninemmgerman", true)
- ply:GiveAmmo( 200, "ninemmrussian", true)
- ply:GiveAmmo( 200, "ninemmshort", true)
- ply:GiveAmmo( 200, "tenmmauto", true)
- ply:GiveAmmo( 200, "fourtymmgrenade", true)
- ply:GiveAmmo( 200, "fourtyfiveacp", true)
- ply:GiveAmmo( 200, "fiftyae", true)
- ply:GiveAmmo( 200, "fiftybmg", true)
- ply:GiveAmmo( 200, "fivefivesix", true)
- ply:GiveAmmo( 200, "sevensixtwobyfiftyone", true)
- ply:GiveAmmo( 200, "sevensixtwoshort", true)
- ply:GiveAmmo( 200, "shotgunshell", true)
- ply:Give( "weapon_fas_dv2" )
- ply:SetModel( "models/player/Group01/male_02.mdl" )
- ply.kills == 0
- end
- function GM:PlayerSpawn( ply )
- ply:GiveAmmo( 200, "ninemmgerman", true)
- ply:GiveAmmo( 200, "ninemmrussian", true)
- ply:GiveAmmo( 200, "ninemmshort", true)
- ply:GiveAmmo( 200, "tenmmauto", true)
- ply:GiveAmmo( 200, "fourtymmgrenade", true)
- ply:GiveAmmo( 200, "fourtyfiveacp", true)
- ply:GiveAmmo( 200, "fiftyae", true)
- ply:GiveAmmo( 200, "fiftybmg", true)
- ply:GiveAmmo( 200, "fivefivesix", true)
- ply:GiveAmmo( 200, "sevensixtwobyfiftyone", true)
- ply:GiveAmmo( 200, "sevensixtwoshort", true)
- ply:GiveAmmo( 200, "shotgunshell", true)
- ply:SetModel( "models/player/Group01/male_02.mdl" )
- if (ply.kills = 0) then
- ply:Give( "weapon_fas_glock20")
- else if (ply.kills = 1) then
- ply:Give( "weapon_fas_m9" )
- else if (ply.kills = 2) then
- ply:Give( "weapon_fas_m4a1" )
- else if (ply.kills => 3) then
- ply:Give( "weapon_fas_g36c" )
- end
- end
- end
- end
- function GM:PlayerDeath( victim, inflictor, attacker )
- if (victim != attacker and attacker:IsPlayer() and victim:IsPlayer() ) then
- attacker.kills = attacker.kils + 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement