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: acl.
1. UCZĘ SIĘ DOPIERO I NIE WIEM CO ROBIĘ ¬LE! PODPIˇĆ POD ACL.
Cze?? Dopiero Zaczynam Swoj? Przygod? Z Lua I Nie Wiem Co Robi? ?le. Prosz? Was O Pomoc.

Chcia?bym, Aby Te Dwa Skrypty "O Ile Mo?na Je Tak Nazwa?" Dzia?a?y Jedynie Pod Grup? ACL O Nazwie OWNER, ?eby Zwyk?y Gracz Nie Mia? Do Tego Dost?pu.

Pierwszy Plik .lua
function consoleJetPack (thePlayer, commandName)
if not doesPedHaveJetPack ( thePlayer ) then
local status = givePedJetPack ( thePlayer )
else
if not status then
local status = removePedJetPack ( thePlayer )
if ( not status ) then
end
end
end
end

addCommandHandler("jp", consoleJetPack)

Drugi Plik .lua
addCommandHandler( "gp",function ()
local x,y,z=getElementPosition(localPlayer)
local _,_,a=getElementRotation(localPlayer)
p=string.format("%.2f, %.2f, %.2f",x, y, z)
setClipboard(p)
outputChatBox("Pozycja Gracza: " .. p)
end)

Oraz Plik meta.xml
<meta>
<script src="gp.lua" type="client"/>
<script src="jp.lua" type="server"/>
</meta>

Sorki, ?e Tak Wklejone, Ale Jetem Nowy Na Forum I Nie Wiem Jak Wstawia?.[/b]
2. chat frakcji acl.
siema poszukuje skryptu na chaty frakcji ACL aby dost?p mia?y tylko osoby: OSP SAFD SAMD SAPD. je?li kto? ma to prosz? bardzo.
3. Logowanie acl.
Witam, mam panel logowania pod mysql ale chce tez zeby logowalo na acl.
Takie cos mam i nie wiem jakie triggery dac:
addEvent("Zaloguj"true)
addEventHandler("Zaloguj"getRootElement(),
function(
loginhaslo)
local acc getAccount(loginhaslo)
    if 
acc then
    logIn
(sourceacchaslo)
    
triggerClientEvent(source"logging:result"root)
    else
    
outputChatBox("Podane dane s? nieprawid?owe."source)
    
end
end
)

addEvent("Zarejestruj"true)
addEventHandler("Zarejestruj"getRootElement(),
function(
loginhaslo)
local acc getAccount(login)
    if 
not acc then
        
if not regulamin then
        triggerClientEvent
(source"logging:newAccount"root)
        else
        
addAccount(loginhaslo)
        
outputChatBox("Stworzy?e? swoje konto! Mo?esz si? teraz zalogowa?."source255255255true)
        
end
    
else
    
outputChatBox("Podany login jest ju? zaj?ty."source)
    
end
end
)
4. Panel PD pod ACL.
Cze??, ot?? pr?buje co? robi? z tym panelem: http://www.gtaonline.pl/d...ae30ec031e6cc65

Jest to panel PD, czy jest tu mo?liwo?? aby panel by? otwierany dla grupy ACL "PD".
Prosze o pomoc. Dopiero si? ucz?.
5. [RPG]Spis graczy z grupy ACL.
Witam, mam taki ma?y problemik. Chodzi o to ?eby pokazywa?o lidera na Grid Li?cie.

Cz??? GUI( nie ca?a )

local lider1 
guiCreateGridList 10130120320falseoknoPracownicy )
local lider2 guiGridListAddColumn lider1"Lider"0.7 )


skrypt:

function lider ()
    if ( 
lider2 then
        table 
aclGroupListObjects(aclGetGroup("LiderPolicja"))
        for 
objects,name in pairs(table)do
            
local liderRow guiGridListAddRow lider1 )
            
guiGridListSetItemText lider1liderRowlider2name )
        
end
    end
end


ACL:

    
<group name="LiderPogotowie">
        <
object name="user.SEBO"></object>
    </
group>