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: binda
1. jak zrobić binda pod funkcje?
jak zrobi? binda pod funkcje?
2. Jak zrobić binda na zmianę wariantu w aucie?
Siema. Jak w temacie wida? :

Jak zrobi? binda na zmian? wariantu w aucie?

Za pomoc daj? piwo i respect
3. Jak zrobić interior na binda
witam chcia?bym si? dowiedzie? jak zrobi? wej?cie/wyj?cie z interioru na binda

kod
local blip createBlip(2269.76,-74.16,26.77,132255,0,0,255,0,400)

wejscie createMarker (2269.76,-74.16,26.77+0.8"arrow"1.5071255)
wyjscie createMarker (2265.86035,-86.18610,8.05354+0.6"arrow"1.5071255)
setElementDimension(wyjscie0)
setElementInterior(wyjscie0)

addEventHandler("onMarkerHit"wejscie, function(elmd)
    if 
isPedInVehicle(elthen return end
    outputChatBox
" #0053FFWitamy w urz?dzie "el,255,255,255,true)
    
setElementDimension(el0)
    
setElementInterior(el0)
    
setElementPosition(el2266.23462,-84.65352,8.05354)
end)

addEventHandler("onMarkerHit"wyjscie, function(elmd)
    if 
isPedInVehicle(elthen return end
    outputChatBox
("#0053FF Zapraszamy ponownie "el,255,255,255,true)
    
setElementDimension(el0)
    
setElementInterior(el0)
    
setElementPosition(el2269.68,-77.71,26.58)
end)
4. Animka pod binda
Witam, zrobi?em taki kod:
function animka (source)
setPedAnimation source"CRIB""CRIB_Use_Switch")
end
addEventHandler
("onPlayerJoin",root,function()
    
bindKey(source,"mouse_wheel_down","both",odanimka
    
bindKey(source,"mouse_wheel_up","both",zdanimka)
end)

Ale cos nie dziala ;/
5. jak dodac do tego binda
c-side
[lua]
GUIEditor = {
tab = {},
scrollbar = {},
tabpanel = {},
label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.tabpanel[1] = guiCreateTabPanel(451, 265, 986, 609, false)

GUIEditor.tab[1] = guiCreateTab("Moderator", GUIEditor.tabpanel[1])

GUIEditor.label[1] = guiCreateLabel(7, 5, 963, 570, "Moderator ! Dodaje do gry : Panel (P) , Kick , Mute , Slap , Frozzen itd. Koszt : <tresc : AA.SP> <numer : 7936>", false, GUIEditor.tab[1])
guiSetFont(GUIEditor.label[1], "sa-header")
guiLabelSetColor(GUIEditor.label[1], 154, 211, 43)
guiLabelSetHorizontalAlign(GUIEditor.label[1], "left", true)
GUIEditor.scrollbar[1] = guiCreateScrollBar(282, 375, 659, 15, true, false, GUIEditor.tab[1])

GUIEditor.tab[2] = guiCreateTab("Skiny", GUIEditor.tabpanel[1])

GUIEditor.label[2] = guiCreateLabel(0, 0, 416, 434, "Wojsko : 287 S.W.A.T : 285", false, GUIEditor.tab[2])
guiSetFont(GUIEditor.label[2], "sa-header")
guiLabelSetColor(GUIEditor.label[2], 154, 211, 43)
guiLabelSetHorizontalAlign(GUIEditor.label[2], "left", true)

GUIEditor.tab[3] = guiCreateTab("Komedy", GUIEditor.tabpanel[1])

GUIEditor.label[3] = guiCreateLabel(0, 0, 606, 585, "/wojsko - dolaczasz do wojska /swat - dolac...