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

Wysłany: 2016-02-15, 20:22


P.Wiśnia

Programista LUA






Wiek: 24
Na forum: 4044 dni
Posty: 568
Nick w MP: P.Wiśnia

Piwa: 376

Respekt: 100
Respekt: 100

Jaka jest komenda na tepanie aut w systemie aut Pana Prezesa

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-02-15, 20:26


_Wicek_

Majstersztyk






Wiek: 25
Na forum: 4260 dni
Posty: 747
Nick w MP: Wicek

Piwa: 1841

Respekt: 360,5
Respekt: 360,5Respekt: 360,5Respekt: 360,5Respekt: 360,5

Ostrzeżeń: 40%
Nie wiem czy jest takowa wgrana.. , spr?buj /thv id_pojazdu

Podpis

Support-Team: 25.01.2016
Moderator: 10.07.2016




GG: 51274621
Skype : kuba_wicinski
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-02-15, 20:44


Patrix100

Amator LUA.






Wiek: 26
Na forum: 3887 dni
Posty: 182
Nick w MP: .:Patrix:.

Piwa: 952

Respekt: 40,5

/warp [id]

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-02-15, 20:46


MIKAELmta







Wiek: 24
Na forum: 3978 dni
Posty: 311

Piwa: 10617

Respekt: 355,3
Respekt: 355,3Respekt: 355,3Respekt: 355,3Respekt: 355,3

Trochu nie estetycznie :)

local function getVehicleid )
if id then
id tonumberid )
for ,v in ipairs (getElementsByType "vehicle" ))do
if getElementData(,"car_id" then
if getElementDatav,"car_id" )== id then
return v
            end
        end
    end
end
return false
end
addCommandHandler (" warp" ,function( plrcmdid )
if id then
id =tonumber (id )
local veh getVehicleid )
if veh then
local x ,,getElementPositionplr)
local int =getElementInterior (plr )
local dim getElementDimension (plr)
setElementPosition (veh ,,,)
setElementPosition (plrxyz2)
setElementDimension (veh ,dim )
setElementInterior (veh ,int)
warpPedIntoVehicle plrveh )
outputChatBox ("Przenios?e? do Siebie " ..getVehicleName (veh ).. " ( ID : " ..getElementDataveh"car_id" ).. " )" plr,255 ,255 ,255 )
        end
    end
end )


Postaw piwo autorowi tego posta
 

 
Tagi: pan :: prezes :: tepanie :: aut
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