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

Wysłany: 2014-10-01, 18:28


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

meta


<meta>

<script type="server" src="dorywcza.lua"/>

</meta>

kod

marker createMarker(,12.4555482864381229.237792968819.34250831604'arrow'2.0255255255150) 

function praca thePlayer )
if isElementWithinMarker(thePlayermarkerthen 
setElementModel thePlayer275 ) 
else 
outputChatBox("Nie jeste? w markerze , wpisz /zacznij-prace aby rozpocz??!"25500end 
end 
addCommandHandler("zacznij-prace"skrypt)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:33


Artysta

Lua, Lua, Czekolada






Wiek: 28
Na forum: 4466 dni
Posty: 240
Nick w MP: Artysta/Koojot

Piwa: 1427

Respekt: 205,8
Respekt: 205,8Respekt: 205,8

W jedno miejsce wpad? Ci przecinek a w inne nie ustali?e? komu ma si? pokazywa? ten komunikat :)


marker createMarker(12.4555482864381229.237792968819.34250831604'arrow'2.0255255255150) 

function praca thePlayer )
if isElementWithinMarker(thePlayermarkerthen 
setElementModel thePlayer275 ) 
else 
outputChatBox("Nie jeste? w markerze , wpisz /zacznij-prace aby rozpocz??!",source25500end 
end 
addCommandHandler("zacznij-prace"praca )


Podpis
Something is coming..
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:38


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

no ok, ale nie dziala komeda

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:43


Artysta

Lua, Lua, Czekolada






Wiek: 28
Na forum: 4466 dni
Posty: 240
Nick w MP: Artysta/Koojot

Piwa: 1427

Respekt: 205,8
Respekt: 205,8Respekt: 205,8

Jak to nie dzia?a ? Co? w db3 ?

Podpis
Something is coming..
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:46


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

juz pacze czek

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:47


KukiX







Wiek: 34
Na forum: 6718 dni
Posty: 567

Piwa: 17560

Respekt: 160
Respekt: 160Respekt: 160

"Artysta" napisał/a:

W jedno miejsce wpad? Ci przecinek a w inne nie ustali?e? komu ma si? pokazywa? ten komunikat :)


marker createMarker(12.4555482864381229.237792968819.34250831604'arrow'2.0255255255150) 

function praca thePlayer )
if isElementWithinMarker(thePlayermarkerthen 
setElementModel thePlayer275 ) 
else 
outputChatBox("Nie jeste? w markerze , wpisz /zacznij-prace aby rozpocz??!",source25500end 
end 
addCommandHandler("zacznij-prace"praca )


Gdzie ty tam masz source?
Powinno by?:

outputChatBox("Nie jeste? w markerze , wpisz /zacznij-prace aby rozpocz??!",thePlayer25500


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:49


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:55


Artysta

Lua, Lua, Czekolada






Wiek: 28
Na forum: 4466 dni
Posty: 240
Nick w MP: Artysta/Koojot

Piwa: 1427

Respekt: 205,8
Respekt: 205,8Respekt: 205,8

Oj, source mi si? odruchowo wpisa?o :D

Podpis
Something is coming..
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-01, 18:59


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

dalej nie dziala

[ Dodano: 2014-10-01, 19:59 ]
pomocy mam tu drugi kod i nie dziala
marker createMarker(12.4555482864381229.237792968819.34250831604'cylinder'2.0255255255150) 

function createvehicle()
        local 1.75365424156191232.639892578119.350032806396 getElementPosition(localPlayer)
        veh createVehicle(5331.75365424156191232.639892578119.350032806396 )
    end
end

addEventHandler "onMarkerHit"root(), MarkerHit )



marker sie nie tworzy !!

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-02, 02:51


Piorun







Wiek: 32
Na forum: 6712 dni
Posty: 1837
Nick w MP: Piorun

Piwa: 516

Respekt: 480,7
Respekt: 480,7

AstroStudio, ten kod z komend? - interpreter go bierze jak ze strony klienta wi?c sprawd? raz jeszcze met? i nie wiem czy to ma jaki? sens ale przed "/>" daj spacj?.

Co do drugiego - root bez nawias?w.

Podpis
Możesz mnie znaleźć na: Facebook
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-02, 07:11


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4394 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

local 1.75365424156191232.639892578119.350032806396 getElementPosition(localPlayer)


WAAAT?

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-02, 07:42


Maximerr

Programmer PHP, LUA






Wiek: 25
Na forum: 4427 dni
Posty: 548

Piwa: 1051

Respekt: 365,3
Respekt: 365,3Respekt: 365,3Respekt: 365,3Respekt: 365,3


marker createMarker12.4555482864381229.237792968819.34250831604'cylinder'2.0255255255150 ) 
function markerHit()
veh createVehicle5331.75365424156191232.639892578119.350032806396 end end 

addEventHandler "onMarkerHit"rootmarkerHit )


[ Dodano: 2014-10-02, 07:47 ]
I wyt?umacz nam co to ma by??
local 1.75365424156191232.639892578119.350032806396 getElementPosition(localPlayer)



Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-02, 15:03


Dixers

No-Life






Wiek: 26
Na forum: 4312 dni
Posty: 549
Nick w MP: Dixers

Piwa: 412

Respekt: 56,8

A nie powinno by? tak?

marker createMarker12.4555482864381229.237792968819.34250831604'cylinder'2.0255255255150 ) 
function markerHit()
veh createVehicle5331.75365424156191232.639892578119.350032806396 end end 

addEventHandler "onMarkerHit"root(marker), markerHit )



Postaw piwo autorowi tego posta
 

 
Tagi: nie :: dziala
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA 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