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

Wysłany: 2015-08-05, 15:38


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

co ja mam tu ?le ?




st createObject 980, -1571.9000244141661.59997558594900180 ) 
function stO () 
isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st,1000, -1571.9000244141661.599975585943.2000000476837outputChatBox ("Otweranie trwa"thePlayer219781false end 
addCommandHandler("polio"stO ) 

function stC () 
isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st1000,-1571.9000244141661.599975585949, ) 
outputChatBox ("Zamykanie Trwa"thePlayer219781false end 
addCommandHandler("polic"stC )


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 15:59


luki123luki123

Place Game






Wiek: 28
Na forum: 5275 dni
Posty: 1948
Nick w MP: LuKiO

Piwa: 6101

Respekt: 611
Respekt: 611Respekt: 611

Nie doda?e? if'y i endy:
st createObject 980, -1571.9000244141661.59997558594900180 ) 
function stO () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st,1000, -1571.9000244141661.599975585943.2000000476837outputChatBox ("Otweranie trwa"thePlayer219781false end
end 
addCommandHandler("polio"stO ) 

function stC () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st1000,-1571.9000244141661.599975585949, ) 
outputChatBox ("Zamykanie Trwa"thePlayer219781false end 
addCommandHandler("polic"stC )


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:12


maciek3286

LUA Developer






Wiek: 26
Na forum: 5201 dni
Posty: 230
Nick w MP: maciek00

Piwa: 3207

Respekt: 101,5
Respekt: 101,5

luki123luki123, taka poprawka ty te? nie doda?e? enda ;)

st createObject 980, -1571.9000244141661.59997558594900180 ) 
function stO () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st,1000, -1571.9000244141661.599975585943.2000000476837outputChatBox ("Otweranie trwa"thePlayer219781false end
end 
addCommandHandler("polio"stO ) 

function stC () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st1000,-1571.9000244141661.599975585949, ) 
outputChatBox ("Zamykanie Trwa"thePlayer219781false end 
end
addCommandHandler("polic"stC )


?apaj kod

Podpis
"Ludzie będą zawsze dla ciebie źli, jeżeli konieczność nie zmusi ich do tego, by byli dobrzy" ~~ Niccolò Machiavelli
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:14


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

brama sie nie tworzy dalej ;( )

[ Dodano: 2015-08-05, 16:15 ]
mog? by? zrobi? t? brame ? Brama ma by? w SF policja PLS

[ Dodano: 2015-08-05, 16:17 ]
g?owny wjazd i ten wjazd g?ryny kolo lotniska dla heli

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:18


Qbiszon

Map editor






Wiek: 25
Na forum: 4176 dni
Posty: 29
Nick w MP: Qbi

Piwa: 2

Respekt: 50

Zobacz teraz.

st createObject 980, -1571.9000244141661.59997558594900180 ) 
function stO () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st980, -1571.9000244141661.599975585943.2000000476837outputChatBox ("Otweranie trwa"thePlayer219781false end
end 
addCommandHandler("polio"stO ) 

function stC () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Policja")) then
moveObject st980,-1571.9000244141661.599975585949, ) 
outputChatBox ("Zamykanie Trwa"thePlayer219781false end 
end
addCommandHandler("polic"stC )


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:30


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

SCRIPT ERROR: [RPG]/bramaSFPD/brama.lua:13: unexpected symbol near ')'
ERROR: Loading script failed: [RPG]/bramaSFPD/brama.lua:13: unexpected symbol near ')'

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:36


Qbiszon

Map editor






Wiek: 25
Na forum: 4176 dni
Posty: 29
Nick w MP: Qbi

Piwa: 2

Respekt: 50

W linijce 13 pod koniec, przed zamkni?ciem nawiasu usun przecinek.


moveObject st1000,-1571.9000244141661.59997558594)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:52


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

brama jest ale stoi inaczej ni? powinna

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:53


Qbiszon

Map editor






Wiek: 25
Na forum: 4176 dni
Posty: 29
Nick w MP: Qbi

Piwa: 2

Respekt: 50

to zaraz zobacze na moim serwerze.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:55


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

pisze kom. na otwarcie I NIC

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 16:56


#404







Wiek: 26
Na forum: 4771 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%

st createObject 980, -1571.9000244141661.59997558594900180 ) 
function stO () 
isObjectInACLGroup "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Policja")) then
moveObject st,1000, -1571.9000244141661.599975585943.2000000476837outputChatBox ("Otweranie trwa"source219781false end 
addCommandHandler("polio"stO ) 

function stC () 
isObjectInACLGroup "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Policja")) then
moveObject st1000,-1571.9000244141661.59997558594outputChatBox ("Zamykanie Trwa"source219781false end 
addCommandHandler("polic"stC )


Ostatnio zmieniony przez #404 2015-08-05, 17:15, w całości zmieniany 2 razy  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 17:03


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

tera to brama sie nie pokazuje

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 17:06


#404







Wiek: 26
Na forum: 4771 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%
"AstroStudio" napisał/a:

tera to brama sie nie pokazuje


To nie wiem co ty tworzysz, skoro poprzez dodanie po prostu parametru do funkcji ca?y skrypt si? psuje, a ta funkcja i tak powinna by? wykonana dopiero p??niej...


Za ka?dym razem jak co? nie dzia?a, podaj b??dy z db3

Edit: Spr?buj jeszcze raz, mo?e nieco inaczej zadzia?a (kod wy?ej)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 17:15


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4330 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-08-05, 17:17


#404







Wiek: 26
Na forum: 4771 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%

st createObject 980, -1571.9000244141661.59997558594900180 ) 
function stO () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Policja")) then
moveObject st,1000, -1571.9000244141661.599975585943.2000000476837outputChatBox ("Otweranie trwa"source219781false end 
end
addCommandHandler("polio"stO ) 

function stC () 
if isObjectInACLGroup "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Policja")) then
moveObject st1000,-1571.9000244141661.59997558594outputChatBox ("Zamykanie Trwa"source219781false end 
end
addCommandHandler("polic"stC )


Ehh m?j b??d, skopiowa?em i nie zauwa?y?em, ?e nie ma if?w

Postaw piwo autorowi tego posta
 

 
Tagi: brama :: komęde
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