Jump to content

how i can do spawn panel


Mr.Fallen

Recommended Posts

Posted (edited)

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

tJ5zeFm.gif

Proud owner and developer of ZNEXT: Aftermath.

Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience.

Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. 

Español, Pусский, Türk, عربى, Polski, Português

IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB

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