Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: podpisanie
1. Podpisanie pod elementdate
Witam, jak mam podpi?? ten skrypt pod swoj? element dat?? Co mam tutaj ?le?

[LUA]

--[[
Author: AteX<[email protected]>
]]--

function ttv(plr,cmd,id)
local account = getPlayerAccount(plr)
local name = getAccountName(account)
if not isObjectInACLGroup("user.lewak"..name, aclGetGroup("Console")) then return end
if id then
local id = tonumber(id)
local v = znajdzpojazd(id)
if v then
warpPedIntoVehicle(plr,v)
outputChatBox("Teleportowano do pojazdu o ID: "..id,plr,255,0,0,true)
else
outputChatBox("Nie znaleziono pojazdu o takim ID.",plr,255,0,0,true)
end
else
outputChatBox("Nie wpisa?e? ID pojazdu.",plr,255,0,0,true)
end
end
addCommandHandler("ttv",ttv)

function ttp(plr,cmd,id)
local account = getPlayerAccount(plr)
local name = getAccountName(account)
if not isObjectInACLGroup("user.lewak"..name, aclGetGroup("Console")) then return end
if id then
local id = tonumber(id)
local v = znajdzpojazd(id)
if v then
local x,y,z = getElementPosition(plr)
setElementPosition(v,x,y,z)
setElementPosition(plr,x,y,z+3)
outputChatBox("Teleportowano pojazd o ID: "..id,plr,255,0,0,true)
else
outputChatBox("Nie znaleziono pojazdu o takim ID.",plr,255,0,0,true)
end
else
outputChatBox("Nie wpisa?e? ID pojazdu.",plr,255,0,0,true)
end
end
addCommandHandler("ttp"...