Wysłany: 2015-02-16, 15:27
THEGizmo
Modeler/Uczeń Lua
Wiek: 27 Na forum: 4141 dni Posty: 255
Nick w MP: THEGizmo
Piwa : 3072
Witam Ma o to taki problem bo nie wiem jak zrobi? teleport ,ale na komend? np: /lv i tepa na podane namiary w skrypcie
Za pomoc Stawiam
Podpis
Modeler Corporation Sp. Z.O.O
Wysłany: 2015-02-16, 15:36
Loop
Inspektor
Wiek: 27 Na forum: 4290 dni Posty: 311
Nick w MP: Inspektor
Piwa : 201
Prosz?
addCommandHandler ( "komenda" ,function( plr , cmd )
setElementPosition ( plr , x , y , z )
setElementRotation ( plr , 0 , 0 , 0 )
setElementInterior ( plr , interior )
setElementDimension ( plr , dimension )
end )
Wysłany: 2015-02-16, 20:09
killercycDDS
Migacz
Wiek: 25 Na forum: 4512 dni Posty: 629
Nick w MP: killer_cyc[DDS]
Piwa : 1659
jak dla mnie to jest proztsze
function teleport( hitPlayer, matchingDimension )
outputChatBox("text!", thePlayer, 0, 250, 0)
setElementPosition ( hitPlayer, x,y,z )
end
addCommandHandler("tp", teleport)
jak nie chcesz info w czacie usu? to
outputChatBox("text!", thePlayer, 0, 250, 0)
Wysłany: 2015-02-16, 20:17
#404
Wiek: 26 Na forum: 4772 dni Posty: 1438
Piwa : 2512
Cytat:
function teleport( hitPlayer, matchingDimension )
outputChatBox("text!", thePlayer, 0, 250, 0)
setElementPosition ( hitPlayer, x,y,z )
end
addCommandHandler("tp", teleport)
Co ty tu cz?owieku tworzysz ? Poda? mu dobry kod wi?c temat tak jakby zamkni?ty... A w dodatku po co ci tam jakie? hitPlayer'y i matchingDimension ?!?!
Wysłany: 2015-02-16, 22:02
Tostuch
Wiek: 27 Na forum: 4931 dni Posty: 483
Nick w MP: Tost
Piwa : 137
Lepiej u?ywa? funkcji spawnPlayer a ni?eli setElementPosition, powoduje to pewne bugi..
Wysłany: 2015-02-17, 06:48
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4395 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
"Tostuch" napisał/a :Lepiej u?ywa? funkcji spawnPlayer a ni?eli setElementPosition, powoduje to pewne bugi..
Je?li u?yjesz spawnPlayer po wej?ciu na serwer, nie stworzy si? bug.
Tagi: teleport :: komende
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: