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: wybieraniem
1. Wybieraniem pomiedzy 1 a 2
Cze??, mam pytanie co zrobi? lub czego u?y? aby przy respie pojazdu wybiera? on pomi?dzy np: id 214 a id 362.

przy tak wygl?daj?cej linijce spawnu pojazdu

createVehicle(ID POJAZDU, 1425.51, 229.60, 19.34, 359.8, 0.1, 246.4)
2. Problem z GUI i wybieraniem skinów.
Witam, mam taki problem.
Zrobi?em GUI z wyborem skin?w,
1 problem jest taki, ?e outputChatBox wy?wietla si? wszystkim.
function otworz (thePlayer)
if 
thePlayer ~= localPlayer then return end
guiSetVisible
(oknotrue)
showCursor(true)
outputChatBox("Otworzy?e?/a? szafk?.")
end
addEventHandler
("onClientMarkerHit"testotworz)


2 problem jest taki, ?e gdy ju? wybierzemy skina, to wida? go dla 1 gracza ( my go widzimy )
function skin_Nomex(thePlayer)
if 
source ~= Nomex_SGSP then return end
    setElementModel
(localPlayer10)
    
outputChatBox("Wzi??e?/a? skina Nomex'a!")
end
addEventHandler 
"onClientGUIClick"rootskin_Nomex)


"Skrypt" jest po C-SIDE