Wysłany: 2017-08-17, 10:00
DaVeCS
Mapper
Wiek: 31 Na forum: 3386 dni Posty: 193
Nick w MP: DaVe
Piwa : 59
Witajcie, pomo?e mi kto? jak zrobi? te brame by dwa UID mogly j? otwiera??
Otokod:
brama = createObject ( 980 , 2101.88 , 2464.97 , 11.82 , 0 , 0 , 0 )
local t = createElement ( 'text' )
setElementPosition ( t , 2101.88 , 2464.97 , 11.82 )
setElementData ( t , "name" , "Teren VemcziN" )
function bramaop ( el , thePlayer )
if getElementData ( el , "player:uid" ) ~= 96 or 94 then
exports [ "1" ]: outputNotificationBox ( el , "Nie jeste? w?a?cicielem bramy" )
return
end
moveObject ( brama , 2000 , 2101.88 , 2464.97 , 1 , 0 , 0 , 0 )
exports [ "1" ]: outputNotificationBox ( el , "#00ccccBrama si? otwiera!" )
setTimer ( moveBack , 5000 , 1 )
end
addCommandHandler ( "vo" , bramaop )
function bramacl ( el , thePlayer )
if getElementData ( el , "player:uid" ) ~= 96 or 94 then
exports [ "1" ]: outputNotificationBox ( el , "Nie jeste? w?a?cicielem Bramy" )
return
end
moveObject ( brama , 2000 , 2101.88 , 2464.97 , 11.82 , 0 , 0 , 0 )
exports [ "1" ]: outputNotificationBox ( el , "#00ccccBrama si? zamyka!" )
end
addCommandHandler ( "vz" , bramacl )
Wysłany: 2017-08-17, 10:17
neku^
Wiek: 24 Na forum: 3521 dni Posty: 461
Nick w MP: neku^
Piwa : 1186
brama = createObject ( 980 , 2101.88 , 2464.97 , 11.82 , 0 , 0 , 0 )
local t = createElement ( 'text' )
setElementPosition ( t , 2101.88 , 2464.97 , 11.82 )
setElementData ( t , "name" , "Teren VemcziN" )
function bramaop ( el , thePlayer )
if getElementData ( el , "player:uid" ) == 96 or getElementData ( el , "player:uid" ) == 94 then
moveObject ( brama , 2000 , 2101.88 , 2464.97 , 1 , 0 , 0 , 0 )
exports [ "1" ]: outputNotificationBox ( el , "#00ccccBrama si? otwiera!" )
setTimer ( moveBack , 5000 , 1 )
return
end
addCommandHandler ( "vo" , bramaop )
function bramacl ( el , thePlayer )
if getElementData ( el , "player:uid" ) == 96 or getElementData ( el , "player:uid" ) == 94 then
moveObject ( brama , 2000 , 2101.88 , 2464.97 , 11.82 , 0 , 0 , 0 )
exports [ "1" ]: outputNotificationBox ( el , "#00ccccBrama si? zamyka!" )
end
end
addCommandHandler ( "vz" , bramacl )
Zedytowane
Ostatnio zmieniony przez neku^ 2017-08-17, 11:03, w całości zmieniany 1 raz
Wysłany: 2017-08-17, 10:55
DaVeCS
Mapper
Wiek: 31 Na forum: 3386 dni Posty: 193
Nick w MP: DaVe
Piwa : 59
niestety nie dziala
Wysłany: 2017-08-17, 11:04
neku^
Wiek: 24 Na forum: 3521 dni Posty: 461
Nick w MP: neku^
Piwa : 1186
Po 1. jakie masz uid? Po 2 co wy?wietla si? w db3 Po 3 zedytowalem tamten post.
Wysłany: 2017-08-17, 11:08
DaVeCS
Mapper
Wiek: 31 Na forum: 3386 dni Posty: 193
Nick w MP: DaVe
Piwa : 59
Wysłany: 2017-08-17, 17:45
Kalizman
Wiek: 23 Na forum: 3651 dni Posty: 1394
Piwa : 4619
brama = createObject ( 980 , 2101.88 , 2464.97 , 11.82 , 0 , 0 , 0 )
local t = createElement ( 'text' )
setElementPosition ( t , 2101.88 , 2464.97 , 11.82 )
setElementData ( t , "name" , "Teren VemcziN" )
function bramaop ( el , thePlayer )
if getElementData ( el , "player:uid" ) == 96 or getElementData ( el , "player:uid" ) == 94 then
moveObject ( brama , 2000 , 2101.88 , 2464.97 , 1 , 0 , 0 , 0 )
exports [ "1" ]: outputNotificationBox ( el , "#00ccccBrama si? otwiera!" )
setTimer ( moveBack , 5000 , 1 )
end
end
addCommandHandler ( "vo" , bramaop )
function bramacl ( el , thePlayer )
if getElementData ( el , "player:uid" ) == 96 or getElementData ( el , "player:uid" ) == 94 then
moveObject ( brama , 2000 , 2101.88 , 2464.97 , 11.82 , 0 , 0 , 0 )
exports [ "1" ]: outputNotificationBox ( el , "#00ccccBrama si? zamyka!" )
end
end
addCommandHandler ( "vz" , bramacl )
Licz? na respekt.
Tagi: brama
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: