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: Ľle!
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]