Wysłany: 2016-09-17, 07:26
MartinPanZycia
Zielony w LUA
Wiek: 27 Na forum: 3729 dni Posty: 476
Nick w MP: Rodzaje
Piwa : 878
Elo , to znowu ja , znikno? mi marker , po dodatniu tego .
local team = getPlayerTeam ( localPlayer )
local teamName = getTeamName ( team )
if teamName == "Vagos" then
by?em w teamie w Vagos i innymi nazwami co mo?e by? przyczyn? , ?e nie ma markera po dodaniu tego do funkcji w gui .
Wysłany: 2016-09-17, 08:20
eject
kurdebele
Wiek: 30 Na forum: 3659 dni Posty: 182
Nick w MP: EjecT
Piwa : 2456
Wysłany: 2016-09-17, 10:26
MartinPanZycia
Zielony w LUA
Wiek: 27 Na forum: 3729 dni Posty: 476
Nick w MP: Rodzaje
Piwa : 878
czyli tak ?
function podmien ()
if source ~= snip then return end
if isElementWithinMarker ( localPlayer , marker ) then
triggerServerEvent ( "neu" , localPlayer )
outputChatBox ( "Statystyki Broni :#ffcc33 Snajperka nic nie zmienia" , 255 , 255 , 250 , true )
dff = engineLoadDFF ( "sniper.dff" , 358 )
engineReplaceModel ( dff , 358 )
txd = engineLoadTXD ( "sniper.txd" )
engineImportTXD ( txd , 358 )
local team = getPlayerTeam ( localPlayer )
local teamName = getTeamName ( team )
if teamName == "Vagos" then
if guiGetVisible ( punkt3 ) == true then
guiSetVisible ( punkt3 , false )
showCursor ( false )
end
end
end
end
addEventHandler ( "onClientGUIClick" , root , podmien )
Podpis
Cześć w MTA jestem jako Rodzaje.
Wszystko jest po staremu nie zamierzam stawiać RPG.
Wysłany: 2016-09-17, 12:33
marcin778
Krytyk serwerów MTA
Wiek: 24 Na forum: 4149 dni Posty: 2268
Nick w MP: Marcineg
Piwa : 4662
function podmien ()
if source ~= snip then return end
if isElementWithinMarker ( localPlayer , marker ) then
triggerServerEvent ( "neu" , localPlayer )
outputChatBox ( "Statystyki Broni :#ffcc33 Snajperka nic nie zmienia" , 255 , 255 , 250 , true )
dff = engineLoadDFF ( "sniper.dff" , 358 )
engineReplaceModel ( dff , 358 )
txd = engineLoadTXD ( "sniper.txd" )
engineImportTXD ( txd , 358 )
local team = getPlayerTeam ( localPlayer )
local teamName = getTeamName ( team )
if teamName == "Vagos" then
-- cos tam
if guiGetVisible ( punkt3 ) == true then
guiSetVisible ( punkt3 , false )
showCursor ( false )
end
end
end
end
addEventHandler ( "onClientGUIClick" , root , podmien )
Wysłany: 2016-09-18, 15:44
MartinPanZycia
Zielony w LUA
Wiek: 27 Na forum: 3729 dni Posty: 476
Nick w MP: Rodzaje
Piwa : 878
marcin778 ,
ok dzia?a do zamkni?cia , i piwo
Podpis
Cześć w MTA jestem jako Rodzaje.
Wszystko jest po staremu nie zamierzam stawiać RPG.
Tagi: nie :: markera
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: