Jump to content

[Help]char menu


Wisin

Recommended Posts

Posted

Hey there, im currently trying to script a character menu to create characters etc, but my problem is i have no clue of how to start exactly, i did the whole gui parts gridlist etc but can someone tell me some functions i should use?

Thanks

Posted

i think it will be faster to search on wiki.multitheftauto.com instead of waiting for somebody to search it there for you..

so if gui is done:

addEvent

addEventHandler

triggerServerEvent

setPedSkin

getPedSkin

and if you want to be able to clothe CJ skin:

getBodyPartName

getClothesByTypeIndex

getClothesTypeName

getTypeIndexFromClothes

addPedClothes

getPedClothes

removePedClothes

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

Could you please wrap your code in

 tags? It makes it all the more readable, and others won't have to scroll down a long way. 

Anyway, it seems like "accData" is nil, or an empty table. Where is this variable defined?

Projects:

Slothbot | Maximap

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...