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

Wysłany: 2017-01-14, 19:25


Vintage







Wiek: 23
Na forum: 3555 dni
Posty: 64

Piwa: 1

Respekt: 45,8

Witam chcia?bym napisa? skrypt na muzyke z pony skrypt ma by? na komend? i ma si? otwiera? z ty?u drzwi oraz pokazywa? si? marker cylinder , i pokazywa? gui wiecie o co chodzi z Pylife :D , mo?e mi kto? poda? KOMENDY FUNKCJE ITP

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-01-14, 19:30


_Haze

Peace Yo!






Wiek: 24
Na forum: 4184 dni
Posty: 1648
Nick w MP: Haze

Piwa: 2628

Respekt: 1020
Respekt: 1020

Nie rozumiem zbytnio o co ci chodzi ale wiem ?e ma muzyk? odtwarza?. No to.
GUI

Więcej informacji znajdziesz w Wikipedii MTA:

guiCreateWindow


Więcej informacji znajdziesz w Wikipedii MTA:

guiCreateButton


Więcej informacji znajdziesz w Wikipedii MTA:

onClientGUIClick

Muzyka

Więcej informacji znajdziesz w Wikipedii MTA:

playSound


Więcej informacji znajdziesz w Wikipedii MTA:

playSound3D

Marker

Więcej informacji znajdziesz w Wikipedii MTA:

createMarker


Więcej informacji znajdziesz w Wikipedii MTA:

onClientMarkerHit

Aby muzyka gra?a dla 1osoby musisz da? triger po stronie serwera na odtwarzanie muzyki ze strony clienta dla gracza kt?ry wywo?a? triger

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-01-14, 19:31


Vintage







Wiek: 23
Na forum: 3555 dni
Posty: 64

Piwa: 1

Respekt: 45,8

Hazmudex, a marker przy veh ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-01-14, 19:35


_Haze

Peace Yo!






Wiek: 24
Na forum: 4184 dni
Posty: 1648
Nick w MP: Haze

Piwa: 2628

Respekt: 1020
Respekt: 1020

HerbatnikTv,
Więcej informacji znajdziesz w Wikipedii MTA:

createMarkerAttachedTo

to usefal function musisz wklei? j? do kodu i u?y? jak jest podane na wiki

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-01-14, 19:44


Vintage







Wiek: 23
Na forum: 3555 dni
Posty: 64

Piwa: 1

Respekt: 45,8

Hazmudex,

function createMarkerAttachedTo(elementmTypesizergbavisibleToxOffsetyOffsetzOffset)

to ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-01-14, 19:49


_Haze

Peace Yo!






Wiek: 24
Na forum: 4184 dni
Posty: 1648
Nick w MP: Haze

Piwa: 2628

Respekt: 1020
Respekt: 1020

HerbatnikTv, to wklejasz do kodu
function createMarkerAttachedTo(elementmTypesizergbavisibleToxOffsetyOffsetzOffset)
    mTypesizergbavisibleToxOffsetyOffsetzOffset mType or "checkpoint"size or 4or 0or 0or 255or 255visibleTo or getRootElement(), xOffset or 0yOffset or 0zOffset or 0
    assert(isElement(element), "Bad argument @ 'createMarkerAttachedTo' [Expected element at argument 1, got " .. type(element) .. "]"assert(type(mType) == "string""Bad argument @ 'createMarkerAttachedTo' [Expected string at argument 2, got " .. type(mType) .. "]"assert(type(size) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 3, got " .. type(size) .. "]"assert(type(r) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 4, got " .. type(r) .. "]")    assert(type(g) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 5, got " .. type(g) .. "]"assert(type(b) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 6, got " .. type(b) .. "]"assert(type(a) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 7, got " .. type(a) .. "]"assert(isElement(visibleTo), "Bad argument @ 'createMarkerAttachedTo' [Expected element at argument 8, got " .. type(visibleTo) .. "]"assert(type(xOffset) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 9, got " .. type(xOffset) .. "]"assert(type(yOffset) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 10, got " .. type(yOffset) .. "]"assert(type(zOffset) == "number""Bad argument @ 'createMarkerAttachedTo' [Expected number at argument 11, got " .. type(zOffset) .. "]")
    local m createMarker(000mTypesizergbavisibleTo)
    if m then if attachElements(melementthen return m end end return false
end

np.
createMarkerAttachedTo(element,"checkpoint", 2)

Postaw piwo autorowi tego posta
 

 
Tagi: pony :: interfejs :: audio
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » PONY INTERFEJS AUDIO Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

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