SirniNamaz Posted August 18, 2012 Share Posted August 18, 2012 I made a script that should spawn a ped, but it doesn't? function pedLoadSt () DrugGuard1 = createPed (111, 2581.0087890625, -1286.1293945313, 1044.125) setElementDimension (DrugGuard1, 2) setPedRotation(DrugGuard1, 90) setPedAnimation( DrugGuard1, "BAR", "barcustom_loop") end addEventHandler ( "onResourceStart", getResourceRootElement(), pedLoadSt ) Link to comment
AMARANT Posted August 18, 2012 Share Posted August 18, 2012 Maybe it's because of wrong dimension or unspecified interior? Link to comment
SirniNamaz Posted August 18, 2012 Author Share Posted August 18, 2012 Maybe it's because of wrong dimension or unspecified interior? double checked everything, it should work but it doesnt Link to comment
AMARANT Posted August 18, 2012 Share Posted August 18, 2012 Are you trying to create ped in bar or where? To create it in some interior you have to set it for element with function: setElementInterior Link to comment
SirniNamaz Posted August 18, 2012 Author Share Posted August 18, 2012 Are you trying to create ped in bar or where? To create it in some interior you have to set it for element with function: setElementInterior thanks, idk how i repleaced interior with dimension 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