SkatCh Posted July 11, 2014 Share Posted July 11, 2014 guys please i want to create script which is i want to create a custom skin for some players example : Palyer account name is : xxxxx so when xxx check the skin he will find his custom skin but other players can use it . thank you Link to comment
Moderators IIYAMA Posted July 11, 2014 Moderators Share Posted July 11, 2014 Wiki knowns everything. So start there instead of here. and don't start with: me don't know lua, me don't know scripting, me no English speaking, please help me with writing my code Because then you are at the wrong section mate. Link to comment
Max+ Posted July 11, 2014 Share Posted July 11, 2014 Events : onPlayerLogin --- When Player Login to Account getPlayerAccount --- get ThePlayerAccount getAccountName --- get PlayerAccount Name ( xxx ) isObjectInACLGroup --- you can make a group for the allowed players or / tabel triggerClientEvent --- use triggerClientEvent Because Engine Functions Are ClientSide Only , engineLoadTXD --- skin load engineImportTXD --- skin import engineLoadDFF --- skin load engineReplaceModel ---- skin replace ---and you can use something like this , if not getAccountName == xxx then outputChatBox(' * This Skin is for Account xxx Only * ', source, 255, 255, 0 ) 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