E-mail Posted September 15, 2011 Posted September 15, 2011 Hill /debugscript 3 say auta.lua:2: attempt to call global 'engine LoadTXD'(a nill value) Client .... function replaceModel() txd = engineLoadTXD ( "graffiti_lan01.txd", 14840) engineImportTXD ( txd, 14840 ) dff1 = engineLoadDFF ( "graffiti_lan01.dff", 14840 ) -- ta linijka ³aduje plik w formacie dff i zapisuje wartoœci do zmienniej dff engineReplaceModel ( dff1, 14840 ) -- ta linijka podmienia plik dff end addCommandHandler ( "zmien", replaceModel ) addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel )
Castillo Posted September 15, 2011 Posted September 15, 2011 engineLoadTXD is only client side, I'm sure you are using it as server side. Check the meta.xml if it says type="server". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
E-mail Posted September 15, 2011 Author Posted September 15, 2011 you are right its on serverSide im meta.xml Thx dude Fixded
Castillo Posted September 15, 2011 Posted September 15, 2011 Your welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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