Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 52 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. function GM:PlayerFootstep( ply, pos, foot, s, vol, rf )
  2.    
  3.     if( ply:GetModel() == "models/player/police.mdl" or ply:GetModel() == "models/dpfilms/metropolice/playermodels/pm_phoenix_police_female.mdl" or ply:GetModel() == "models/dpfilms/metropolice/playermodels/pm_retrocop_female.mdl" or ply:GetModel() == "models/dpfilms/metropolice/playermodels/pm_skull_police_female.mdl" or ply:GetModel() == "models/dpfilms/metropolice/playermodels/pm_rogue_police_female.mdl" or ply:GetModel() == "models/dpfilms/metropolice/playermodels/pm_elite_police_female.mdll" or ply:GetModel() == "models/metropolice/playermodels/pm_eliteshockcp_v2.mdl" or ply:GetModel() == "models/player/police_fem.mdl" or ply:GetModel() == "models/police05.mdl" or ply:GetModel() == "models/police04.mdl" or ply:GetModel() == "models/police03.mdl" or ply:GetModel() == "models/police02.mdl" or ply:GetModel() == "models/police01.mdl" or ply:GetModel() == "models/policeadj.mdl" or ply:GetModel() == "models/policedel.mdl" or ply:GetModel() == "models/policerct.mdl" or ply:GetModel() == "models/policesql.mdl" or ply:GetModel() == "models/policesec.mdl" ) then
  4.        
  5.         if( ply:GetVelocity():Length2D() > 150 ) then
  6.             if( foot == 0 ) then
  7.                 ply:EmitSound( "NPC_MetroPolice.RunFootstepLeft" );
  8.             else
  9.                 ply:EmitSound( "NPC_MetroPolice.RunFootstepRight" );
  10.             end
  11.         else
  12.             if( foot == 0 ) then
  13.                 ply:EmitSound( "NPC_MetroPolice.FootstepLeft" );
  14.             else
  15.                 ply:EmitSound( "NPC_MetroPolice.FootstepRight" );
  16.             end
  17.         end
  18.        
  19.         return;
  20.        
  21.     end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top