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: wykrycie
1. wykrycie kierowcy
Witajcie bawi? si? w tworzenie systemu naprawy i napotka?em problem z wykryciem kierowcy podpowiem, ?e chc? by wykry?o, ?e kierowca jest w cuboidzie


addEventHandler
("onClientMarkerHit"resourceRoot, function(el,md)
    if 
not md or el~=localPlayer then return end
   local cs
=getElementData(source"snn_cs")
    if 
not cs then return end
    vehicles
=getElementsWithinColShape(cs,"vehicle")
    
vehicles2=getElementsWithinColShape(cs,"player")
    
driver=getVehicleController(vehicles2)
     if 
#vehicles < 1 then
        
triggerEvent('onClientAddNotification'localPlayer'Na stanowisku naprawczym nie znajduje si?npojazd''error')
        return
    
end
    
if #vehicles > 1 then
        
triggerEvent('onClientAddNotification'localPlayer'Na stanowisku naprawczym znajduje si?nzbyt du?a ilo?? pojazd?w''error')
        return
    
end
    
if not driver then triggerEvent('onClientAddNotification'localPlayer'Brak kierowcy''error')
        return
    
end


Marker b?dzie u?ywa?a osoba trzecia nie osoba kt?ra sied? w aucie.
2. [DM] Wykrycie AIMBOTa
Z ciekawo?ci, ma kto? z Was pomys? jak go wykry??

PS. Nie odsy?ajcie mnie do Google xd