Jump to content

help zombie script


Recommended Posts

I'm trying to make the zombies have different animations

depending on the skin that have but does not work me any help plis :(

ZombieLimit = get("zombies.MaxZombies")- 
ZombieStreaming = get("zombies.StreamMethod") 
ZombiePedSkins = {60, 61, 62, 63, 64, 67, 66, 78, 79, 80, 81 } 
local id = getElementModel (ped, "zombie" ) 
if id == 60 then  
    chaseanim = "WALK_drunk" 
    checkspeed = 2000 
elseif id== 61 then  
    chaseanim = "WALK_player" 
    checkspeed = 1000 
elseif id == 62 then 
    chaseanim =  "run_civi" 
    checkspeed = 1000 
else 
    chaseanim = "run_old" 
    checkspeed = 1000 
end 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...