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: rozmawianie
1. rozmawianie z pedem
Witam mam problem w tym, ?e utworzy?em peda i doda?em opcje pisania peda, lecz to co ped napisze widzi ca?y serwer a chc?, ?eby tylko ta osoba widzia?a, kt?ra rozmawia.

function speechWithRobol() 
    if 
isElementWithinMarker( source, markerRobol) then
        outputChatBox
("#FF8000Robotnik:#ffffff Ej ty! Potrzebuje pomocnika?", 255, 255, 255, true)
            
setTimer(function() 
                
outputChatBox("#FF8000Robotnik:#ffffff Jak chcesz mi pom?c u?yj komendy '#ff0000/budowa#ffffff'.", 255, 255, 255, true)
            
end, 900, 1)
    
end
end
addEventHandler
("onClientMarkerHit", getRootElement(), speechWithRobol)