pcisoft Posted February 24, 2016 Share Posted February 24, 2016 Hey, I want to script personal skins and group skins and car shaders can you help me ? Thanks! Link to comment
KariiiM Posted February 24, 2016 Share Posted February 24, 2016 Sure, but you have to start alone first and post here what you have done. Link to comment
ozulus Posted February 24, 2016 Share Posted February 24, 2016 Download GTI RPG resources you may find this script. Link to comment
KariiiM Posted February 24, 2016 Share Posted February 24, 2016 Download GTI RPG resources you may find this script. Like that he will never learn Link to comment
ozulus Posted February 24, 2016 Share Posted February 24, 2016 (edited) Unfortunately, yes. I use like that scripts for inspect (coding style etc..) but everyone isn't downloading for it.Like this guy, he just want to use this script, not learn Lua as you said. Seems i didn't read correct. My bad sorry.. Edited February 24, 2016 by Guest Link to comment
Mann56 Posted February 24, 2016 Share Posted February 24, 2016 Unfortunately, yes. I use like that scripts for inspect (coding style etc..) but everyone isn't downloading for it. Like this guy, he just want to use this script, not learn Lua as you said. Hey,I want to script personal skins and group skins and car shaders can you help me ? Thanks! Shaders deal with HLSL afaik, i personally have no knowledge of HLSL, but you can edit skins in 3ds max and textures in PS. Link to comment
KariiiM Posted February 24, 2016 Share Posted February 24, 2016 [ you can edit skins in 3ds max and textures in PS. If I'm not wrong, he just wants to add himself a personal skin. Link to comment
pcisoft Posted February 25, 2016 Author Share Posted February 25, 2016 (edited) If I'm not wrong, he just wants to add himself a personal skin. Yes I want add personal skins I copied from some OLD Scripts that's not me the author of them function replaceskin() local accname = getAccountName(getPlayerAccount(client)) if (accname=="pcisoft") then txd = engineLoadTXD ( "cwmyhb1.txd" ) engineImportTXD ( txd, 162) dff = engineLoadDFF ( "cwmyhb1.dff", 162) engineReplaceModel ( dff, 162) end end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceskin) I added local and if but that haven't worked I want create scripts to replace skin per groups or accounts Thanks! Edited February 26, 2016 by Guest Link to comment
KariiiM Posted February 25, 2016 Share Posted February 25, 2016 This script is totally wrong, "client" doesn't work in client side, plus getPlayerAccount/getAccountName are server sided only.. Link to comment
pcisoft Posted February 26, 2016 Author Share Posted February 26, 2016 This script is totally wrong,"client" doesn't work in client side, plus getPlayerAccount/getAccountName are server sided only.. yes I know because it haven't worked I need help can you fix this script ?? Link to comment
KariiiM Posted February 26, 2016 Share Posted February 26, 2016 Well, complet server side, addEvent("isAccount",true) addEventHandler("isAccount", root, function () local txd = engineLoadTXD ( "cwmyhb1.txd" ) engineImportTXD ( txd, 162) local dff = engineLoadDFF ( "cwmyhb1.dff", 162) engineReplaceModel ( dff, 162) end) --Server side: addCommandHandler("setSkin", function(player) --Your code triggerClientEvent(player,"isAccount",player) end) Link to comment
pcisoft Posted February 26, 2016 Author Share Posted February 26, 2016 Well, complet server side, addEvent("isAccount",true) addEventHandler("isAccount", root, function () local txd = engineLoadTXD ( "cwmyhb1.txd" ) engineImportTXD ( txd, 162) local dff = engineLoadDFF ( "cwmyhb1.dff", 162) engineReplaceModel ( dff, 162) end) --Server side: addCommandHandler("setSkin", function(player) --Your code triggerClientEvent(player,"isAccount",player) end) o_O Can you explain this for me please 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