Sergioks Posted June 26, 2014 Share Posted June 26, 2014 Buenas. Tengo un problemita pequeño de mi Script de Zombies. y es el siguiente: - Cuando el script reemplaza los skins defaul's por los skins de los zombies, yo los veo bien, pero algunos usuarios ven los skins default's, otros ven unos bien y otros blancos, etc... ¿cual es el problema? aqui esta mi script de reemplazo: -- REEMPLAZO DE SKINS: function Remplace() local SkinTXD1 = engineLoadTXD ( "skins/1.txd" ) engineImportTXD ( SkinTXD1, 1 ) local SkinDFF1 = engineLoadDFF("skins/1.dff", 1 ) engineReplaceModel(SkinDFF1, 1) local SkinTXD2 = engineLoadTXD ( "skins/2.txd" ) engineImportTXD ( SkinTXD2, 2 ) local SkinDFF2 = engineLoadDFF("skins/2.dff", 2 ) engineReplaceModel(SkinDFF2, 2) local SkinTXD10 = engineLoadTXD ( "skins/10.txd" ) engineImportTXD ( SkinTXD10, 10 ) local SkinDFF10 = engineLoadDFF("skins/10.dff", 10 ) engineReplaceModel( SkinDFF10, 10 ) local SkinTXD11 = engineLoadTXD ( "skins/11.txd" ) engineImportTXD ( SkinTXD11, 11 ) local SkinDFF11 = engineLoadDFF("skins/11.dff", 11 ) engineReplaceModel( SkinDFF11, 11 ) local SkinTXD12 = engineLoadTXD ( "skins/12.txd" ) engineImportTXD ( SkinTXD12, 12 ) local SkinDFF12 = engineLoadDFF("skins/12.dff", 12 ) engineReplaceModel( SkinDFF12, 12 ) local SkinTXD13 = engineLoadTXD ( "skins/13.txd" ) engineImportTXD ( SkinTXD13, 13 ) local SkinDFF13 = engineLoadDFF("skins/13.dff", 13 ) engineReplaceModel( SkinDFF13, 13 ) local SkinTXD14 = engineLoadTXD ( "skins/14.txd" ) engineImportTXD ( SkinTXD14, 14 ) local SkinDFF14 = engineLoadDFF("skins/14.dff", 14 ) engineReplaceModel( SkinDFF14, 14 ) local SkinTXD15 = engineLoadTXD ( "skins/15.txd" ) engineImportTXD ( SkinTXD15, 15 ) local SkinDFF15 = engineLoadDFF("skins/15.dff", 15 ) engineReplaceModel( SkinDFF15, 15 ) end addEventHandler("onClientResourceStart", getRootElement(), Remplace) yo honestamente lo veo bien, pero mejor pregunto porque en estos dias se me han pasado por alto detallitos importantes, no se porque - Gracias de Antemano. Link to comment
andresmak Posted June 26, 2014 Share Posted June 26, 2014 Intenta esto: function Remplace() local SkinTXD1 = engineLoadTXD ( "skins/1.txd" ) engineImportTXD ( SkinTXD1, 1 ) local SkinDFF1 = engineLoadDFF("skins/1.dff", 1 ) engineReplaceModel(SkinDFF1, 1) local SkinTXD2 = engineLoadTXD ( "skins/2.txd" ) engineImportTXD ( SkinTXD2, 2 ) local SkinDFF2 = engineLoadDFF("skins/2.dff", 2 ) engineReplaceModel(SkinDFF2, 2) local SkinTXD10 = engineLoadTXD ( "skins/10.txd" ) engineImportTXD ( SkinTXD10, 10 ) local SkinDFF10 = engineLoadDFF("skins/10.dff", 10 ) engineReplaceModel( SkinDFF10, 10 ) local SkinTXD11 = engineLoadTXD ( "skins/11.txd" ) engineImportTXD ( SkinTXD11, 11 ) local SkinDFF11 = engineLoadDFF("skins/11.dff", 11 ) engineReplaceModel( SkinDFF11, 11 ) local SkinTXD12 = engineLoadTXD ( "skins/12.txd" ) engineImportTXD ( SkinTXD12, 12 ) local SkinDFF12 = engineLoadDFF("skins/12.dff", 12 ) engineReplaceModel( SkinDFF12, 12 ) local SkinTXD13 = engineLoadTXD ( "skins/13.txd" ) engineImportTXD ( SkinTXD13, 13 ) local SkinDFF13 = engineLoadDFF("skins/13.dff", 13 ) engineReplaceModel( SkinDFF13, 13 ) local SkinTXD14 = engineLoadTXD ( "skins/14.txd" ) engineImportTXD ( SkinTXD14, 14 ) local SkinDFF14 = engineLoadDFF("skins/14.dff", 14 ) engineReplaceModel( SkinDFF14, 14 ) local SkinTXD15 = engineLoadTXD ( "skins/15.txd" ) engineImportTXD ( SkinTXD15, 15 ) local SkinDFF15 = engineLoadDFF("skins/15.dff", 15 ) engineReplaceModel( SkinDFF15, 15 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), Remplace) Link to comment
Sergioks Posted June 26, 2014 Author Share Posted June 26, 2014 Intenta esto: function Remplace() local SkinTXD1 = engineLoadTXD ( "skins/1.txd" ) engineImportTXD ( SkinTXD1, 1 ) local SkinDFF1 = engineLoadDFF("skins/1.dff", 1 ) engineReplaceModel(SkinDFF1, 1) local SkinTXD2 = engineLoadTXD ( "skins/2.txd" ) engineImportTXD ( SkinTXD2, 2 ) local SkinDFF2 = engineLoadDFF("skins/2.dff", 2 ) engineReplaceModel(SkinDFF2, 2) local SkinTXD10 = engineLoadTXD ( "skins/10.txd" ) engineImportTXD ( SkinTXD10, 10 ) local SkinDFF10 = engineLoadDFF("skins/10.dff", 10 ) engineReplaceModel( SkinDFF10, 10 ) local SkinTXD11 = engineLoadTXD ( "skins/11.txd" ) engineImportTXD ( SkinTXD11, 11 ) local SkinDFF11 = engineLoadDFF("skins/11.dff", 11 ) engineReplaceModel( SkinDFF11, 11 ) local SkinTXD12 = engineLoadTXD ( "skins/12.txd" ) engineImportTXD ( SkinTXD12, 12 ) local SkinDFF12 = engineLoadDFF("skins/12.dff", 12 ) engineReplaceModel( SkinDFF12, 12 ) local SkinTXD13 = engineLoadTXD ( "skins/13.txd" ) engineImportTXD ( SkinTXD13, 13 ) local SkinDFF13 = engineLoadDFF("skins/13.dff", 13 ) engineReplaceModel( SkinDFF13, 13 ) local SkinTXD14 = engineLoadTXD ( "skins/14.txd" ) engineImportTXD ( SkinTXD14, 14 ) local SkinDFF14 = engineLoadDFF("skins/14.dff", 14 ) engineReplaceModel( SkinDFF14, 14 ) local SkinTXD15 = engineLoadTXD ( "skins/15.txd" ) engineImportTXD ( SkinTXD15, 15 ) local SkinDFF15 = engineLoadDFF("skins/15.dff", 15 ) engineReplaceModel( SkinDFF15, 15 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), Remplace) sigue igual Link to comment
Recommended Posts