Witam prosz? o troszke przerobienie skryptu na system paczek chcia?bym alby mi odliczalo np mam 20 kord?w gdzie sie znajduja paczki i np znajde jedna to pisze znalaz?e?/a? paczk? 2/20 Rozumiecie ;D
Przosze o przerobienie skryptu z Suszarki konkursowej gtao poniewa? suszarka dzia?a tylko dla rcon?w i nie umiem zmienic zeby dzialala dla calej administracji
addEvent('doAdminToolAction', true);
local adminGroup = ACLGroup.get('SuperModerator');
local adminGroup = ACLGroup.get('Moderator');
local adminGroup = ACLGroup.get('Admin');
addCommandHandler('suszarka', function(player, cmd)
if player.account.name then
if isObjectInACLGroup('user.'..player.account.name, adminGroup) then
local state = not (player:getData('adminTool'));
player:setData('adminTool', state);
if state then
player:outputChat('Suszarka administratora zosta?a w??czona!', 0, 255, 0);
player:outputChat('Wystarczy nacelowa? na pojazd, wybra? opcj? k??kiem myszy i potwierdzi? klikaj?c LPM.', 0, 255, 0);
else
player:outputChat('Suszarka administratora zosta?a wy??czona.', 255, 150, 0);
end
triggerClientEvent(player, 'onClientToggleAdminTool', player, state);
end
end
end);
Witam chcia?bym ?eby w panelu logowania monia gra?a muzyka.
Wgra?em do folderu plik o nazwie music.mp3
I r?wnie? doda?em go do mety!
<meta>
<info author="Monio" name="Panel Logowania v1.0" version="1.0"/>
<oop>true</oop>
<script src="Source_C.lua" type="client"/>
<script src="Source_S.lua" type="server"/>
<script src="music.mp3" type="server"/>
</meta>
Prosze o pomoc
Witam chcia?bym by przerobi? ten skrypt http://gtao.pl/93386.htm .Jest to skrypt na komputer osp ale jest tam jeden b??d.Po w??czeniu syreny s?yszy j? tylko osoba kt?ra j? w??czy?a.Wi?c prosz? o przerobienie tego skryptu
PS. Nagradzam
Siemka poszukuje osoby co pomo?e mi przerobi? ten oto kawa?ek aby on chodzi? bo ju? pr?bowa?em robi? na wiele sposob?w i nadal nic
addEvent("baga?nik", true)
addEventHandler("baga?nik", root, function()
local pojazd = getPedOccupiedVehicle(source)
if pojazd then
local engine = getVehicleEngineState(pojazd)
if engine == false then
setVehicleEngineState(pojazd, true)
else
setVehicleEngineState(pojazd, false)
end
end
end)
Witajcie przyjaciele!
Wie kto? jak zrobi? aby tych komend mog?a u?ywa? jedynie ranga Admin, Rcon i moderator z acl? Skrypt z internetu. Jestem skrypterem na poziomie -1, nawet sam skrypt?w prostych tworzy? nie umiem bo si? dopiero ucz?.
addCommandHandler("ls", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 2500.5952, -1669.4454, 13.3532)
outputChatBox("Witamy w Los Santos.", el, 255, 255, 0)
end)
addCommandHandler("dw", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -2162.03,252.79,35.32)
outputChatBox("Witamy przy domie wejbika.", el, 255, 255, 0)
end)
addCommandHandler("adm", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -2166.42, 254.90, 1001.33)
outputChatBox("Witamy w bazie administracji.", el, 255, 255, 0)
end)
addCommandHandler("lv", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 2140.8190, 986.2273, 10.8203)
outputChatBox("Witamy w Las Venturas.", el, 255, 255, 0)
end)
addCommandHandler("sf", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -2044.92,470.53,35.17)
outputChatBox("Witamy w San Fierro.", el, 255, 255, 0)
end)
addCommandHandler("lslot", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 1945.4160, -2305.6423, 15.0583)
outputChatBox("Witamy na Lotnisku w Los Santos.", el, 255, 255, 0)
end)
addCommandHandler("salonsf", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -1952.19, 262.57, 35.47)
outputChatBox("Witamy przed salonem w SF.", el, 255, 255, 0)
end)
addCommandHandler("pustynia", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 428.4866, 2533.7695, 16.5045)
outputChatBox("Witamy na pustyni.", el, 255, 255, 0)
end)
addCommandHandler("kgp", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -1606.41,722.23,12.13)
outputChatBox("Witamy przy kgp.", el, 255, 255, 0)
end)
addCommandHandler("nigdzie", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 0, 0, 0)
outputChatBox("witamy nigdzie.", el, 255, 255, 0)
end)
addCommandHandler("tama", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -924.3400, 2019.7234, 60.9141)
outputChatBox("Witamy na tamie.", el, 255, 255, 0)
end)
addCommandHandler("stadion", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -1367.2737, 1566.3998, 1052.5313)
outputChatBox("Witamy na stadionie.", el, 255, 255, 0)
end)
addCommandHandler("molo", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 836.2119, -2057.7136, 12.8671)
outputChatBox("Witamy na molo.", el, 255, 255, 0)
end)
addCommandHandler("mechsf", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -2014.20,171.76,27.68)
outputChatBox("Witamy przy mechaniku.", el, 255, 255, 0)
end)
addCommandHandler("port", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 2294.0693, 558.9081, 7.7813)
outputChatBox("Witamy w porcie.", el, 255, 255, 0)
end)
addCommandHandler("mc", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -2301.9609, -1648.8076, 483.6195)
outputChatBox("Witamy na MountChilliad", el, 255, 255, 0)
end)
addCommandHandler("prawko", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -232.14,2695.58,62.69)
outputChatBox("Witamy w miejscu zdawania prawa jazdy", el, 255, 255, 0)
end)
addCommandHandler("wyskok", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 2071.7295, 284.0156, 403.1366)
outputChatBox("Witamy na wyskoku", el, 255, 255, 0)
end)
addCommandHandler("tor", function(el,md)
local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, 1319.34, -1589.29, 13.55)
outputChatBox("Witamy na torze", el, 255, 255, 0)
end)
local gracz = el
konto = getPlayerAccount(gracz)
if not konto then return end
accname = getAccountName (konto )
if isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "grupa 1" ) ) or isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "grupa 2" ) ) or isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "grupa 13" ) ) then
Tak, podmieniasz tam po tym gracz = el, to co masz tutaj w pierwszej linijce no i przed nawiasem ko?cz?cym dodajesz jednego end'a
addCommandHandler("ls", function(el,md)
local gracz = el
konto = getPlayerAccount(gracz)
if not konto then return end
name = getAccountName (konto )
if isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "admin" ) ) or isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "rcon" ) ) or isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "moderator" ) ) then
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end)
setElementPosition(gracz, 2500.5952, -1669.4454, 13.3532)
outputChatBox("Witamy w Los Santos.", el, 255, 255, 0)
end)
TheWejbik, tak, najwyzej podaj b??dy z db3 jak beda jakie?, no i je?eli co? bedzie w pierwszej kolejno?ci sprawdz dokladnie nazwy rang, liczy sie wielkosc liter, bo na pierwszy rzut oka wszystko dobrze.
addCommandHandler("ls", function(el,md)
local gracz = el
konto = getPlayerAccount(gracz)
if not konto then return end
name = getAccountName (konto )
if isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "Admin" ) ) or isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "RCON" ) ) or isObjectInACLGroup ( "user." .. accname , aclGetGroup ( "Moderator" ) ) then
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end)
setElementPosition(gracz, 2500.5952, -1669.4454, 13.3532)
outputChatBox("Witamy w Los Santos.", el, 255, 255, 0)
end)
Po prostu, przy nazwach z ACL nie da? poprawnych liter, dlatego nie dzia?a?o (Moim zdaniem)
[ Komentarz dodany przez: DestroY: 2016-01-23, 02:29 ]
No napisa?em to Kwestia te? tego, jak on ma to wpisanez bo mo?e mie? inaczej bo sobie edytowa?.
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