golanu21 Posted March 13, 2013 Posted March 13, 2013 function replaceModel() txd = engineLoadTXD("infernus.txd", 411 ) engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) what is not ok here?, the name of txd and dff is infernus, and i want to change infernus model [Dev]BloWnRPG - We BloW the World [1%]
Castillo Posted March 13, 2013 Posted March 13, 2013 Post the meta.xml content. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
golanu21 Posted March 13, 2013 Author Posted March 13, 2013 nothing [Dev]BloWnRPG - We BloW the World [1%]
golanu21 Posted March 13, 2013 Author Posted March 13, 2013 i put this in a meta gamemode, and gamemode now don't work [Dev]BloWnRPG - We BloW the World [1%]
golanu21 Posted March 13, 2013 Author Posted March 13, 2013 "HazeMaze" version="0.1" type="gamemode" name="RPG" description="RPG"> "policeJob/jail.map" /> "policeJob/pvehs.map" /> "robberjob/files/cash.mp3"/> "pizzajob/pizzaveh.map"/> "loginpanel/logo.png"/> this is the full meta [Dev]BloWnRPG - We BloW the World [1%]
Castillo Posted March 13, 2013 Posted March 13, 2013 Does the script even load? what's the problem? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iPrestege Posted March 13, 2013 Posted March 13, 2013 i think the problem in the txd and dff file's .
golanu21 Posted March 13, 2013 Author Posted March 13, 2013 function replaceModel() txd = engineLoadTXD("infernus.txd") engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 5: bad dff pointer 3: bad txt pointer [Dev]BloWnRPG - We BloW the World [1%]
Castillo Posted March 13, 2013 Posted March 13, 2013 The problem is that you forgot to add the "replaces/" on the path. function replaceModel() txd = engineLoadTXD("replaces/infernus.txd") engineImportTXD(txd, 411) dff = engineLoadDFF("replaces/infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
golanu21 Posted March 13, 2013 Author Posted March 13, 2013 oh it's ok now thanx very muth, mega mistake [Dev]BloWnRPG - We BloW the World [1%]
Castillo Posted March 13, 2013 Posted March 13, 2013 You're 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