Jump to content

Money-Send Panel


Karuzo

Recommended Posts

Posted

Hey Guys,

so i wanted to make a Money-Send Panel which Player can use to send money to their friends.

but i just don't figure it out how i could do that, or which func's i need.

hope you could help me.

-regards,

KRZO.

Posted
 --Event 
onClientGUIClick 
--Client 
guiCreateWindow 
guiCreateEdit 
guiCreateButton 
guiGetText 
triggerServerEvent 
--Server 
getPlayerMoney 
givePlayerMoney 
takePlayerMoney 

Posted
guiCreateGridList 
guiGridListAddColumn 
getElementsByType 
guiGridListAddRow 
guiGridListSetItemText 
getPlayerName 
  
--To get player name on list 
guiGridListGetItemText 
guiGridListGetSelectedItem 

Posted

Wassim , one question, why should i use the Server-Sided functions server-side?

They're all client-side too ?

 --Event 
onClientGUIClick 
--Client 
guiCreateWindow 
guiCreateEdit 
guiCreateButton 
guiGetText 
triggerServerEvent 
--Server 
getPlayerMoney 
givePlayerMoney 
takePlayerMoney 

Posted

Always use debugscript, if you used it, you should have seen the error saying that these lines are incorrect:

if source == guiGridListGetItemText(Para.gridlist[1],guiGridListGetSelectedItem(Para.gridlist[1])) ~= "Oyuncu sec" then 
local getComboPlayer = guiGridListGetItemText(Para.gridlist[1]),guiGridListGetSelectedItem(Para.gridlist[1]) 

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