SkatCh Posted July 11, 2014 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 Failure is simply an opportunity to begin again more intelligently - Henry Ford
Moderators IIYAMA Posted July 11, 2014 Moderators 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. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Max+ Posted July 11, 2014 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 ) - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
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