Jump to content

Problem with Animations and peds :(


capitanazop

Recommended Posts

Posted
function greetPlayer ( ) 
        -- we store the player's name 
        local joinedPlayerName = getClientName ( source ) 
        local serverName = getServerName( ) 
        ped = createPed( 108, 1707.9217529297, 1460.8656005859, 10.815040588379, 247.8258972168) 
        giveWeapon( ped, 31, 100 ) 
        setPedAnimation( ped, "ped", "FALL_back", -1, false, true, false ) 
        outputChatBox ( "Welcome " .. joinedPlayerName .. " to ".. serverName .."!" , source, 255, 255, 255 ) 
        makePedUseGun ( ped, 3, source ) 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), greetPlayer ) 

when i spawn the ped dont have weapon and is freeze and the animation doesn't work

sig.php?id=4217ℑ=4

|||||||||||||||||||||DanieloX|||||||||||||||||||||||

cod4-06.png

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...