Witam, mam pytanie. Czy kto? wie w jaki spos?b mog? z edytowa? ten skrypt na wideorejestrator by by? on dostepny po przez komend? dla ka?dego gracza lub te? osoby dodanej do grupy ACL ,,Policja''
Dane skryptu :
[lua]
--if getPlayerName(localPlayer)~="Anonimowy" and getPlayerName(localPlayer)~="ZmK" then
-- return
--end
local sx,sy=guiGetScreenSize()
local czc=exports.czcionka:CZ9()
local wlaczony=false
function isPlayerInACL(player, acl)
local accountName = getAccountName( getPlayerAccount(player) )
if accountName ~= "guest" and type( aclGetGroup(acl) ) == "userdata" then
return isObjectInACLGroup( "user."..accountName, aclGetGroup(acl) )
end
return false
end
)
function checkAccess(thePlayer)
if isPlayerInACL(thePlayer, "Console") then
outputChatBox("Access Granted!")
else
outputChatBox("Access Denied!")
end
end
addCommandHandler("myaccess", checkAccess)
function findRotation( x1, y1, x2, y2 )
local t = -math.deg( math.atan2( x2 - x1, y2 - y1 ) )
return t < 0 and t + 360 or t
end
function getElementSpeed(theElement, unit)
assert(isElement(theElement), "Bad argument 1 @ getElementSpeed (element expected, got " .. type(theElement) .. ")")
assert(getElementType(theElement) == "player" or getElementType(theElement) == "ped" or getElementType(theElement) == &quo... |