Jump to content

Problem with Animations and peds :(


capitanazop

Recommended Posts

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

Link to comment
i thought you couldnt make peds until MTA 1.0, unless you used a nightly build ? :S

Yes. You can use nightly builds to test 1.0 functions. Not all of them work correctly, that's because devs are still working hard.

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