ExtremeSB Posted December 6, 2012 Share Posted December 6, 2012 tou fazendo um script de mod de carro para tunar mas não sei o que esta mal, porque no jogo nao da nada alguem me pode ajudar? Meta.xml type="script" name="subaru" author="xxx" description="" version="1.3" /> "560.txd" /> "560.dff" /> "1026.dff" type="client"/> "1027.dff" type="client"/> "1028.dff" type="client"/> "1029.dff" type="client"/> "1030.dff" type="client"/> "1031.dff" type="client"/> "1032.dff" type="client"/> "1033.dff" type="client"/> "1138.dff" type="client"/> "1139.dff" type="client"/> "1140.dff" type="client"/> "1141.dff" type="client"/> "1169.dff" type="client"/> "1170.dff" type="client"/> replace.lua txd = engineLoadTXD("560.txd") engineImportTXD(txd, 560) dff = engineLoadDFF("560.dff", 560) engineReplaceModel(dff, 560) dff = engineLoadDFF(1026.dff, 1026) engineReplaceModel(dff, 1026) dff = engineLoadDFF(1027.dff, 1027) engineReplaceModel(dff, 1027) dff = engineLoadDFF(1028.dff, 1028) engineReplaceModel(dff, 1028) dff = engineLoadDFF(1029.dff, 1029) engineReplaceModel(dff, 1029) dff = engineLoadDFF(1030dff, 1030) engineReplaceModel(dff, 1030) dff = engineLoadDFF(1031.dff, 1031) engineReplaceModel(dff, 1031) dff = engineLoadDFF(1032.dff, 1032) engineReplaceModel(dff, 1032) dff = engineLoadDFF(1033.dff, 1033) engineReplaceModel(dff, 1033) dff = engineLoadDFF(1138.dff, 1138) engineReplaceModel(dff, 1138) dff = engineLoadDFF(1139.dff, 1139) engineReplaceModel(dff, 1139) dff = engineLoadDFF(1140.dff, 1140) engineReplaceModel(dff, 1140) dff = engineLoadDFF(1141.dff, 1141) engineReplaceModel(dff, 1141) dff = engineLoadDFF(1169.dff, 1169) engineReplaceModel(dff, 1169) dff = engineLoadDFF(1170.dff, 1170) engineReplaceModel(dff, 1170) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()) Link to comment
DNL291 Posted December 7, 2012 Share Posted December 7, 2012 Script: addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource(), function() txd = engineLoadTXD("560.txd") engineImportTXD(txd, 560) dff = engineLoadDFF("560.dff", 560) engineReplaceModel(dff, 560) dff = engineLoadDFF('1026.dff', 1026) engineReplaceModel(dff, 1026) dff = engineLoadDFF('1027.dff', 1027) engineReplaceModel(dff, 1027) dff = engineLoadDFF('1028.dff', 1028) engineReplaceModel(dff, 1028) dff = engineLoadDFF('1029.dff', 1029) engineReplaceModel(dff, 1029) dff = engineLoadDFF('1030.dff', 1030) engineReplaceModel(dff, 1030) dff = engineLoadDFF('1031.dff', 1031) engineReplaceModel(dff, 1031) dff = engineLoadDFF('1032.dff', 1032) engineReplaceModel(dff, 1032) dff = engineLoadDFF('1033.dff', 1033) engineReplaceModel(dff, 1033) dff = engineLoadDFF('1138.dff', 1138) engineReplaceModel(dff, 1138) dff = engineLoadDFF('1139.dff', 1139) engineReplaceModel(dff, 1139) dff = engineLoadDFF('1140.dff', 1140) engineReplaceModel(dff, 1140) dff = engineLoadDFF('1141.dff', 1141) engineReplaceModel(dff, 1141) dff = engineLoadDFF('1169.dff', 1169) engineReplaceModel(dff, 1169) dff = engineLoadDFF('1170.dff', 1170) engineReplaceModel(dff, 1170) end ) Link to comment
ExtremeSB Posted December 7, 2012 Author Share Posted December 7, 2012 ate agr ta tudo bem, mas surgiu outro problema que é o seguinte, quando eu fecho e abro o server carro fica sem textura , por favor ajudem.me Link to comment
DNL291 Posted December 8, 2012 Share Posted December 8, 2012 Então as texturas estão com bug. Link to comment
ExtremeSB Posted December 9, 2012 Author Share Posted December 9, 2012 nao pode pk eu fiz outro script e ficou com o mesmo problema so mesmo eu passando o script para vc e vc ve ele va aparecendo no skype Link to comment
Anderl Posted December 9, 2012 Share Posted December 9, 2012 Fez outro script com outras texturas ou as mesmas? Link to comment
ExtremeSB Posted December 9, 2012 Author Share Posted December 9, 2012 pelo que estou vendo a culpa e do server coluquei noutro e ate agr ta funfando agr so nao sei colucar paintjobs Link to comment
Snes Posted December 19, 2012 Share Posted December 19, 2012 tire type="client" dos model deixe do ^^ você tambem não precisa do: end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()) Link to comment
Recommended Posts