TimJ Posted December 10, 2008 Share Posted December 10, 2008 I followed a tutorial on the wiki of creating ped's but when i ran my script i got this error: [17:35:29] start: Requested by {TJT}Tim [17:35:29] Starting pedtest [17:35:29] ERROR: ...ver/mods/deathmatch/resourcecache/pedtest/pedcrt.lua:3: attempt to call global 'createPed' (a nil value) and the script was exactly as it is on the wiki: function pedLoad ( name ) createPed ( 120, 2422.7126464844, 1125.0426025391, 10.8203125 ) end addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) Whats gone wrong? Link to comment
DakiLLa Posted December 10, 2008 Share Posted December 10, 2008 you can use this function only in mta 1.0 version. Link to comment
TimJ Posted December 10, 2008 Author Share Posted December 10, 2008 oh lol that explains it... is it possible to use them in the latest version? Link to comment
darkdreamingdan Posted December 10, 2008 Share Posted December 10, 2008 You can get a copy of the development builds which have ped support in them, just check the development section. Link to comment
TimJ Posted December 10, 2008 Author Share Posted December 10, 2008 Sorry to be a noob and a pain but where can i find that? Link to comment
Winky Posted December 10, 2008 Share Posted December 10, 2008 Sorry to be a noob and a pain but where can i find that? https://nightly.multitheftauto.com/ Link to comment
TimJ Posted December 10, 2008 Author Share Posted December 10, 2008 Thanks, i'll give it a go 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