Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2016-07-18, 20:56


marcin778

Krytyk serwerów MTA






Wiek: 24
Na forum: 4149 dni
Posty: 2268
Nick w MP: Marcineg

Piwa: 4662

Respekt: 1436,8
Respekt: 1436,8

Yokosik,

ehh...


Więcej informacji znajdziesz w Wikipedii MTA:

playSound3D


Więcej informacji znajdziesz w Wikipedii MTA:

playSound


playSound s?yszy ca?y serwer je?li jest przetriggerowane na s side. playSound3D tak samo tylko, ?e s?yszy si? go na danych koordach. :P

Podpis
Moje prace: https://www.youtube.com/c...MuaWGHPp1mhlGnw

-- obecnie
-- obecnie
-- dawniej
-- dawniej
-- dawniej
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-19, 15:20


STOPseba

Emeryt na scenie MTA






Wiek: 25
Na forum: 3771 dni
Posty: 448
Nick w MP: STOPseba

Piwa: 5014

Respekt: 576,3
Respekt: 576,3

Witam mo?e kto? mi przerobi? ten skrypt na lakiernie ?eby ka?dy gracz m?g? sobie malowa? pojazd w sf doherty
https://megawrzuta.pl/download/1f115f339c1aef803412ac32a3e53e28.html

Podpis



Kontakt
Discord: STOPseba#7603
STOPseba na fejsie
Messenger


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-19, 20:51


Yokosik







Wiek: 25
Na forum: 3629 dni
Posty: 58
Nick w MP: Yokosik

Piwa: 1048

Respekt: 21

"STOPseba" napisał/a:

Witam mo?e kto? mi przerobi? ten skrypt na lakiernie ?eby ka?dy gracz m?g? sobie malowa? pojazd w sf doherty
https://megawrzuta.pl/download/1f115f339c1aef803412ac32a3e53e28.html


Prosz?: http://www13.zippyshare.com/v/vMD9dgu4/file.html

Licze na piwo je?eli dzia?a ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-19, 21:43


STOPseba

Emeryt na scenie MTA






Wiek: 25
Na forum: 3771 dni
Posty: 448
Nick w MP: STOPseba

Piwa: 5014

Respekt: 576,3
Respekt: 576,3

"Yokosik" napisał/a:

"STOPseba" napisał/a:

Witam mo?e kto? mi przerobi? ten skrypt na lakiernie ?eby ka?dy gracz m?g? sobie malowa? pojazd w sf doherty
https://megawrzuta.pl/download/1f115f339c1aef803412ac32a3e53e28.html


Prosz?: http://www13.zippyshare.com/v/vMD9dgu4/file.html

Licze na piwo je?eli dzia?a ;)


Dzia?a dzi?ki ale czy by da?o rade przerobi? to ?eby bez kierowcy mo?na by?o malowa??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-20, 08:55


Yokosik







Wiek: 25
Na forum: 3629 dni
Posty: 58
Nick w MP: Yokosik

Piwa: 1048

Respekt: 21

"STOPseba" napisał/a:

"Yokosik" napisał/a:

"STOPseba" napisał/a:

Witam mo?e kto? mi przerobi? ten skrypt na lakiernie ?eby ka?dy gracz m?g? sobie malowa? pojazd w sf doherty
https://megawrzuta.pl/download/1f115f339c1aef803412ac32a3e53e28.html


Prosz?: http://www13.zippyshare.com/v/vMD9dgu4/file.html

Licze na piwo je?eli dzia?a ;)


Dzia?a dzi?ki ale czy by da?o rade przerobi? to ?eby bez kierowcy mo?na by?o malowa??


Zrobi?em, lecz nie wiem czy b?dzie to dzia?a? jak nale?y.
http://www43.zippyshare.com/v/4rmh2qPy/file.html

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-25, 11:56


STOPseba

Emeryt na scenie MTA






Wiek: 25
Na forum: 3771 dni
Posty: 448
Nick w MP: STOPseba

Piwa: 5014

Respekt: 576,3
Respekt: 576,3

Witam mo?e kto? mi przerobi? ten skrypt pod acl Premium
https://megawrzuta.pl/download/c844945ecbac405678fd9e9ac8354fc6.html

Podpis



Kontakt
Discord: STOPseba#7603
STOPseba na fejsie
Messenger


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-25, 19:45


Yokosik







Wiek: 25
Na forum: 3629 dni
Posty: 58
Nick w MP: Yokosik

Piwa: 1048

Respekt: 21

"STOPseba" napisał/a:

Witam mo?e kto? mi przerobi? ten skrypt pod acl Premium
https://megawrzuta.pl/download/c844945ecbac405678fd9e9ac8354fc6.html



http://www16.zippyshare.com/v/AwWveH6s/file.html

Licz? na piwo oraz respekt ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-07-30, 18:36


STOPseba

Emeryt na scenie MTA






Wiek: 25
Na forum: 3771 dni
Posty: 448
Nick w MP: STOPseba

Piwa: 5014

Respekt: 576,3
Respekt: 576,3

witam mo?e kto? mi poprawi?/przerobi? ten skrypt na suszark? admina i przecho. Chodzi o to ?eby zapisywa? sie stan pojazdu (uszkodzenia)
Za pomoc :piwo:
http://www3.zippyshare.com/v/7FE2Q5ls/file.html

[ Dodano: 2016-08-02, 17:11 ]
Witam mo?e kto? mi przerobi? ten skrypt ?eby gracz w acl premium m?g? bra? skiny dla premium.
http://www17.zippyshare.com/v/zI5XENNH/file.html

Podpis



Kontakt
Discord: STOPseba#7603
STOPseba na fejsie
Messenger


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-04, 12:51


Ozzaku







Wiek: 29
Na forum: 3817 dni
Posty: 41
Nick w MP: Ozzaku

Piwa: 4

Respekt: 35,3

Witam Zmieni mi kto? ten celownik Aby by? on do mta i ,?eby dzia?a? , Daje Repke i Piwko ;)

http://www18.zippyshare.com/v/BpPU9pGU/file.html

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-06, 16:37


STOPseba

Emeryt na scenie MTA






Wiek: 25
Na forum: 3771 dni
Posty: 448
Nick w MP: STOPseba

Piwa: 5014

Respekt: 576,3
Respekt: 576,3

Witam mo?e mi kto? przerobi? te kolczatki pod acl Policja i doda? mo?liwo?? usuwania ich
Link:http://www76.zippyshare.com/v/pl2YCB7L/file.html
Za pomoc :piwo:

Podpis



Kontakt
Discord: STOPseba#7603
STOPseba na fejsie
Messenger


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-07, 20:35


TheBlackBone

Always offline.






Wiek: 24
Na forum: 3982 dni
Posty: 33
Nick w MP: Bone

Piwa: 7

Respekt: 35,8

Przerobi mi kto? ten Chat?
addEventHandler('onPlayerChat'root, function(msgtype)
    if type==0 then
        cancelEvent()
        
        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z50)
        local players=getElementsWithinColShape(sphere'player')
        --[[if #players==1 then
            destroyElement(sphere)
            --outputChatBox('* Nie ma ?adnego gracza w pobli?u, wi?c wiadomo?? jest niemo?liwa.'source25500)
            exports["notices"]:addNotification(source,"Nie ma ?adnego gracza w pobli?u, wi?c wiadomo?? jest nie mo?liwa.","error")
            return
        end--]]
        for i,v in pairs(players) do
            local id=getElementData(source,"id")
            local level tonumber(getElementData(source"player:level"))
            outputChatBox("#FFFFFF"..getPlayerName(source).." #919191["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            --cancelEvent()
            
            --if level == 3 then
            --outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            --if isObjectInACLGroup  "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup "Admin" ) ) then
            if level == 1 then
            --cancelEvent()
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 2 then
            --cancelEvent()
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 3 then
            --cancelEvent()
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
        end
        end
        cancelEvent()
        
        destroyElement(sphere)
        desc="LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..msg..""
        triggerClientEvent(root"admin:addText"rootdesc)
        --triggerClientEvent(root"admin:addText"root"LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..text)
        
        --desc=""..getPlayerName(source):gsub("#%x%x%x%x%x%x","").."("..getElementData(source,"id").."): "..msg:gsub("#%x%x%x%x%x%x","")
        --triggerClientEvent(root"onDebugMessage"resourceRootdesc,1"CHAT")
        
        elseif type==1 then
        cancelEvent()

        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z30)
        local players=getElementsWithinColShape(sphere'player')
        destroyElement(sphere)

        for i,v in pairs(players) do
            outputChatBox("* "..getPlayerName(source).." "..msgv25551102)
        end
    end
end)


A konkretnie mam problem w tym, ?e pisze mi na Chacie podw?jnie...

Tutaj Zdj?cie:
http://imgur.com/a/WyX8W

Podpis
Kod:

28.04.2018 - Oficjalne odejście ze społeczności 'MTA:SA'
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-08, 19:24


N3zyy







Wiek: 29
Na forum: 3590 dni
Posty: 4
Nick w MP: NezY.

Piwa: 258

Respekt: 50

Ostrzeżeń: 100%
"TheBlackBone" napisał/a:

Przerobi mi kto? ten Chat?
addEventHandler('onPlayerChat'root, function(msgtype)
    if type==0 then
        cancelEvent()
        
        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z50)
        local players=getElementsWithinColShape(sphere'player')
        --[[if #players==1 then
            destroyElement(sphere)
            --outputChatBox('* Nie ma ?adnego gracza w pobli?u, wi?c wiadomo?? jest niemo?liwa.'source25500)
            exports["notices"]:addNotification(source,"Nie ma ?adnego gracza w pobli?u, wi?c wiadomo?? jest nie mo?liwa.","error")
            return
        end--]]
        for i,v in pairs(players) do
            local id=getElementData(source,"id")
            local level tonumber(getElementData(source"player:level"))
            outputChatBox("#FFFFFF"..getPlayerName(source).." #919191["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            --cancelEvent()
            
            --if level == 3 then
            --outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            --if isObjectInACLGroup  "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup "Admin" ) ) then
            if level == 1 then
            --cancelEvent()
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 2 then
            --cancelEvent()
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 3 then
            --cancelEvent()
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
        end
        end
        cancelEvent()
        
        destroyElement(sphere)
        desc="LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..msg..""
        triggerClientEvent(root"admin:addText"rootdesc)
        --triggerClientEvent(root"admin:addText"root"LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..text)
        
        --desc=""..getPlayerName(source):gsub("#%x%x%x%x%x%x","").."("..getElementData(source,"id").."): "..msg:gsub("#%x%x%x%x%x%x","")
        --triggerClientEvent(root"onDebugMessage"resourceRootdesc,1"CHAT")
        
        elseif type==1 then
        cancelEvent()

        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z30)
        local players=getElementsWithinColShape(sphere'player')
        destroyElement(sphere)

        for i,v in pairs(players) do
            outputChatBox("* "..getPlayerName(source).." "..msgv25551102)
        end
    end
end)


A konkretnie mam problem w tym, ?e pisze mi na Chacie podw?jnie...

Tutaj Zdj?cie:
http://imgur.com/a/WyX8W


Zmie? kod na:


addEventHandler('onPlayerChat'root, function(msgtype)
    if type==0 then
        cancelEvent()
        
        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z50)
        local players=getElementsWithinColShape(sphere'player')
        for i,v in pairs(players) do
            local id=getElementData(source,"id")
            local level tonumber(getElementData(source"player:level"))        
            if level == 1 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 2 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 3 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
        end
        end
        cancelEvent()
        
        destroyElement(sphere)
        desc="LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..msg..""
        triggerClientEvent(root"admin:addText"rootdesc)
        
        elseif type==1 then
        cancelEvent()

        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z30)
        local players=getElementsWithinColShape(sphere'player')
        destroyElement(sphere)

        for i,v in pairs(players) do
            outputChatBox("* "..getPlayerName(source).." "..msgv25551102)
        end
    end
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-08, 22:53


TheBlackBone

Always offline.






Wiek: 24
Na forum: 3982 dni
Posty: 33
Nick w MP: Bone

Piwa: 7

Respekt: 35,8

N3zyy a pomy?la?e? jak by m?g? gracz pisa?? ;v

Podpis
Kod:

28.04.2018 - Oficjalne odejście ze społeczności 'MTA:SA'
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-09, 00:26


N3zyy







Wiek: 29
Na forum: 3590 dni
Posty: 4
Nick w MP: NezY.

Piwa: 258

Respekt: 50

Ostrzeżeń: 100%
"TheBlackBone" napisał/a:

N3zyy a pomy?la?e? jak by m?g? gracz pisa?? ;v


Zapomnia?em!
Oto kod powinien dzia?a?.


addEventHandler('onPlayerChat'root, function(msgtype)
    if type==0 then
        cancelEvent()
        
        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z50)
        local players=getElementsWithinColShape(sphere'player')
        for i,v in pairs(players) do
            local id=getElementData(source,"id")
            local level tonumber(getElementData(source"player:level"))        
            if not level then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #939393["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            if level == 1 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 2 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 3 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
        end
        end
        cancelEvent()
        
        destroyElement(sphere)
        desc="LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..msg..""
        triggerClientEvent(root"admin:addText"rootdesc)
        
        elseif type==1 then
        cancelEvent()

        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z30)
        local players=getElementsWithinColShape(sphere'player')
        destroyElement(sphere)

        for i,v in pairs(players) do
            outputChatBox("* "..getPlayerName(source).." "..msgv25551102)
        end
    end
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-08-09, 11:18


TheBlackBone

Always offline.






Wiek: 24
Na forum: 3982 dni
Posty: 33
Nick w MP: Bone

Piwa: 7

Respekt: 35,8

"N3zyy" napisał/a:

"TheBlackBone" napisał/a:

N3zyy a pomy?la?e? jak by m?g? gracz pisa?? ;v


Zapomnia?em!
Oto kod powinien dzia?a?.


addEventHandler('onPlayerChat'root, function(msgtype)
    if type==0 then
        cancelEvent()
        
        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z50)
        local players=getElementsWithinColShape(sphere'player')
        for i,v in pairs(players) do
            local id=getElementData(source,"id")
            local level tonumber(getElementData(source"player:level"))        
            if not level then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #939393["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            if level == 1 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 2 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
            
            elseif level == 3 then
            outputChatBox("#FFFFFF"..getPlayerName(source).." #FF0000["..getElementData(source,"id").."]#FFFFFF: #FFFFFF"..msgv___true)
            cancelEvent()
        end
        end
        cancelEvent()
        
        destroyElement(sphere)
        desc="LOCAL> "..getPlayerName(source).."("..getElementData(source,"id").."): "..msg..""
        triggerClientEvent(root"admin:addText"rootdesc)
        
        elseif type==1 then
        cancelEvent()

        local x,y,z=getElementPosition(source)
        local sphere=createColSphere(x,y,z30)
        local players=getElementsWithinColShape(sphere'player')
        destroyElement(sphere)

        for i,v in pairs(players) do
            outputChatBox("* "..getPlayerName(source).." "..msgv25551102)
        end
    end
end)


Dzi?ki ziomek zadzia?o, tylko musia?em doda? zamiast
if level == 1 then
to
elseif level == 1 then

Ale piwko leci i Respekt ;-)

Postaw piwo autorowi tego posta
 

 
Tagi: prośby :: przerobienie :: skryptu
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Zasoby do MTA » PROŚBY O PRZEROBIENIE SKRYPTU Odpowiedz do tematu

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
Dodaj temat do Ulubionych
Wersja do druku