Jump to content

how i can do spawn panel


Mr.Fallen

Recommended Posts

I can't make an entire spawn panel just for you, but I can give you some clues. These functions are needed:

-- clientsided
guiCreateWindow()
guiCreateButton ()
guiCreateGridList() -- Optional
guiSetVisible ()
addEventHandler ("onClientGUIClick",root,function)
triggerServerEvent ()
guiGridListGetItemText () -- Only if you use guiCreateGridList

-- serversided
spawnPlayer()
setElementData () -- You'll probably need it.

Click on any of the functions or events I have posted here and you'll get redirected to the MTA Wiki, you should really read that. Also you can go to the resouce page and look for a spawn system, so you can learn from there.

Good luck.

Edited by MadnessReloaded
Link to comment

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...