DaNy1503 Posted March 28, 2017 Share Posted March 28, 2017 Hi Guys I need helps i cant make a Ped In Interior <map edf:definitions="editor_main"> <ped id="ped (1)" dimension="0" model="205" interior="3" rotZ="0.003" alpha="255" posX="1209.1" posY="-35.8" posZ="1001.5" rotX="0" rotY="0"></ped> </map> but i can not set a Animation i see about PedAnimation but i not works,why i create the ped with the mapeditor not with a script i test this example in CJ Street i make this, but i no have idea to put in a interior (and make immortal ped) function pedLoad () APed = createPed ( 205, 2489, -1665, 13 ) setTimer(setPedRotation,5000,1,APed,270 ) setTimer(setPedAnimation,5000,1,APed,"DANCING","DAN_Down_A",-1,true,true,true ) end addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) can help me? plss Link to comment
itHyperoX Posted March 28, 2017 Share Posted March 28, 2017 function pedLoad () APed = createPed ( 205, 2489, -1665, 13 ) setElementInterior(APed,3) setElementDimension(APed,0) setTimer(setPedRotation,5000,1,APed,270 ) setTimer(setPedAnimation,5000,1,APed,"DANCING","DAN_Down_A",-1,true,true,true ) end addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now