Ujeelka Posted September 3, 2009 Share Posted September 3, 2009 I tried this function pedLoad ( name ) createPed ( 120, 328, -1793, 5 ) end addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) but dont work... it should to create a ped... Link to comment
Ryder! Posted September 3, 2009 Share Posted September 3, 2009 try this addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource() ), pedLoad ) Link to comment
xbenny2506x Posted September 3, 2009 Share Posted September 3, 2009 can i add on a ped a anim too? dance,piss... ? Link to comment
Ujeelka Posted September 4, 2009 Author Share Posted September 4, 2009 try this addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource() ), pedLoad ) I replaced but... still dont work function pedLoad ( name ) createPed ( 120, 328, -1793, 5 ) end addEventHandler ( "onResourceStart", getResourceRootElement( getThisResource() ), pedLoad ) Link to comment
iChris Posted September 4, 2009 Share Posted September 4, 2009 Are you sure that you are near the place where the ped should be? Link to comment
Ujeelka Posted September 4, 2009 Author Share Posted September 4, 2009 Are you sure that you are near the place where the ped should be? yeah Link to comment
Ujeelka Posted September 4, 2009 Author Share Posted September 4, 2009 Who knows the answer ? Link to comment
50p Posted September 4, 2009 Share Posted September 4, 2009 Who knows the answer ? I know the answer... Debug your script before asking question here. https://wiki.multitheftauto.com/index.ph ... a_variable Link to comment
Ujeelka Posted September 5, 2009 Author Share Posted September 5, 2009 oh! It was from meta.xml ... it was type="client" ... it shoul be server... Subject locked 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