All pastes #949535 Raw Edit

Omen numpad sound

public lua v1 · immutable
·published 2008-03-19 21:32 UTC
rendered paste body
--[[I got you damn zombies]]--function talknow1( Player, pid ) 	if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_kill0"..math.random(1, 9)..".wav", 500)		for i =1, 9 do		Player:StopSound("vo/ravenholm/monk_kill0"..tostring(i)..".wav")			end		end	end numpad.Register( "talknow1", talknow1 )  --[[Stay close brother]]--function talknow2( Player, pid ) 	if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_stayclosebro.wav", 500)		end	end numpad.Register( "talknow2", talknow2 )   --[[Damn you zombies]]--function talknow3( Player, pid ) 	if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_mourn0"..math.random(1, 7)..".wav", 500)		end	end numpad.Register( "talknow3", talknow3 )  --[[Over Here]]--function talknow4( Player, pid ) 	if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_overhere.wav", 500)		end	end numpad.Register( "talknow4", talknow4 ) --[[Quickly broder]]--function talknow5( Player, pid ) if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_quicklybro.wav", 500)		end	end numpad.Register( "talknow5", talknow5 )  --[[Follow me]]--function talknow6( Player, pid ) if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_followme.wav", 500)		end	end numpad.Register( "talknow6", talknow6 )      --[[Cover me]]--function talknow7( Player, pid ) if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_coverme0"..math.random(1, 7)..".wav", 500)		end	end numpad.Register( "talknow7", talknow7 )    --[[You blocking me]]--function talknow8( Player, pid ) if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_blocked0"..math.random(1, 3)..".wav", 500)		end	end numpad.Register( "talknow8", talknow8 )    --[[random talk]]--function talknow9( Player, pid ) if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_danger0"..math.random(1, 3)..".wav", 500)		end	end numpad.Register( "talknow9", talknow9 ) --[[Help me]]--function talknow0( Player, pid ) if Player:Team() == 2 then		Player:EmitSound("npc/zombie/zombie_voice_idle"..math.random(1, 14)..".wav", 500)		elseif Player:Team() == 1 then		Player:EmitSound("vo/ravenholm/monk_helpme0"..math.random(1, 5)..".wav", 500)		end	end numpad.Register( "talknow0", talknow0 )  --[[For know what butons do what]]--function BindUpTheirNumpad (pl) numpad.OnUp( pl, 6, "talknow6" ) numpad.OnUp( pl, 7, "talknow7" ) numpad.OnUp( pl, 9, "talknow9" ) numpad.OnUp( pl, 8, "talknow8" ) numpad.OnUp( pl, 5, "talknow5" ) numpad.OnUp( pl, 4, "talknow4" ) numpad.OnUp( pl, 3, "talknow3" ) numpad.OnUp( pl, 2, "talknow2" ) numpad.OnUp( pl, 1, "talknow1" ) numpad.OnUp( pl, 0, "talknow0" )end hook.Add("PlayerInitialSpawn", "BindUpTheirNumpad", BindUpTheirNumpad);