Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: palen
1. Palen lidera gui
Witam ot?? chce zrobi? panel gui dla lidera.
Mia?o to wygl?da? tak :
-Lista
-2 przyciski
Mam ju? kilka funkcji ale nie wiem co dalej .
Gui:
Kod:

-- Created: 09/01/2012 15:29
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Label = {}
GUIEditor_Grid = {}

GUIEditor_Window[1] = guiCreateWindow(0.2713,0.0911,0.3353,0.8125,"Panel by luki123luki",true)
GUIEditor_Grid[1] = guiCreateGridList(0.0197,0.0593,0.0132,0.008,true,GUIEditor_Window[1])
guiGridListSetSelectionMode(GUIEditor_Grid[1],2)
GUIEditor_Button[1] = guiCreateButton(0.7588,0.1619,0.2215,0.0833,"Usu?„",true,GUIEditor_Window[1])
GUIEditor_Button[2] = guiCreateButton(0.7697,0.0385,0.2105,0.0849,"Dodaj",true,GUIEditor_Window[1])
GUIEditor_Grid[2] = guiCreateGridList(0.0197,0.0337,0.4737,0.9519,true,GUIEditor_Window[1])
guiGridListSetSelectionMode(GUIEditor_Grid[2],2)
--- --- --- --- ---

Dodaj usu? :
Kod:

local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
aclGroupAddObject (aclGetGroup("Policja"), "user."..accName)
end
local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
aclGroupRemoveObject (aclGetGroup("Policja"), "user."..accName)
end

Jak to zrobi? ?eby ca?o?? dzia?a?a

-Dodaj -dodaj do frakcji w acl
-Usu? - usu? z frakcji w acl