--]] Autor skryptu: Patrix
--W bindach pomaga?: Atex
--W animacji pomaga?: Emm
--Zakaz zmiany autora![[--
bm = createMarker(-2305.39233, -152.57820, 34.46875, "cylinder", 1.0, 0, 0, 0, 255) -- gdzie ma byc marker w ktorym bedzie sie scrollowac
d = createObject (5422,-2306.60, -149.80, 36.40, 0, 0, 0) -- podajesz koordy obiektu
local kategoria_animacji = "CRIB"
local animacja = "CRIB_Use_Switch"
function od ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("PSP")) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d, 10000, -2306.60, -149.80, 31.89 ) -- Koordy otwartych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end
function zd ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("PSP")) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d, 10000,-2306.60, -149.80, 36.40) -- koordy zamknietych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end
addCommandHandler("756djgndng5r54gt7875t54t65bgy45g", od ) -- haslo otwartych drzwi
addCommandHandler("t5gnu4gu54ygvb54vgv45g76y45g6745", zd ) -- haslo zamknietych drzwi
addEventHandler("onPlayerJoin",root,function()
bindKey(source,"mouse_wheel_down","both",'756djgndng5r54gt7875t54t65bgy45g')
bindKey(source,"mouse_wheel_up","both",'t5gnu4gu54ygvb54vgv45g76y45g6745')
end)
Nie odpisywa?em bo by?em na wakacjach ale nadal nic
--]] Autor skryptu: Patrix
--W bindach pomaga?: Atex
--W animacji pomaga?: Emm
--Zakaz zmiany autora![[--
bm = createMarker(-2305.70557, -157.99330, 34.26875, "cylinder", 1.0, 0, 0, 0, 255) -- gdzie ma byc marker w ktorym bedzie sie scrollowac
d = createObject (5856, -2306.5, -155.39, 36.40, 0, 0, 0) -- podajesz koordy obiektu
local kategoria_animacji = "CRIB"
local animacja = "CRIB_Use_Switch"
function od ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("PSP")) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d, 10000, -2306.5, -155.39, 32.20 ) -- Koordy otwartych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end
function zd ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("PSP")) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d, 10000,-2306.5, -155.39, 36.40) -- koordy zamknietych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end
addCommandHandler("756djgndng5r54gt7875t54t65bgy45g", od ) -- haslo otwartych drzwi
addCommandHandler("t5gnu4gu54ygvb54vgv45g76y45g6745", zd ) -- haslo zamknietych drzwi
addEventHandler("onPlayerJoin",root,function()
bindKey(source,"mouse_wheel_down","both",'756djgndng5r54gt7875t54t65bgy45g')
bindKey(source,"mouse_wheel_up","both",'t5gnu4gu54ygvb54vgv45g76y45g6745')
end)
[ Dodano: 2018-08-14, 10:24 ]
Nie dzia?a w DB3 nic
--]] Autor skryptu: Patrix
--W bindach pomaga?: Atex
--W animacji pomaga?: Emm
--Zakaz zmiany autora![[--
bm = createMarker(-2305.70557, -157.99330, 34.26875, "cylinder", 1.0, 0, 0, 0, 255) -- gdzie ma byc marker w ktorym bedzie sie scrollowac
d = createObject (5856, -2306.5, -155.39, 36.40, 0, 0, 0) -- podajesz koordy obiektu
local kategoria_animacji = "CRIB"
local animacja = "CRIB_Use_Switch"
function od ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("PSP")) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d, 10000, -2306.5, -155.39, 32.20 ) -- Koordy otwartych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end
function zd ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("PSP")) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d, 10000,-2306.5, -155.39, 36.40) -- koordy zamknietych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end
addCommandHandler("756djgndng5r54gt7875t54t65bgy45g", od ) -- haslo otwartych drzwi
addCommandHandler("t5gnu4gu54ygvb54vgv45g76y45g6745", zd ) -- haslo zamknietych drzwi
addEventHandler("onPlayerJoin",root,function()
bindKey("mouse_wheel_down","both","756djgndng5r54gt7875t54t65bgy45g")
bindKey("mouse_wheel_up","both","t5gnu4gu54ygvb54vgv45g76y45g6745")
end)
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach