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: komęde
1. rh1 montowanie pod komęde
[b]Witam, mam ma?y problem mam sobie skrypt na gz chcia?bym ?eby po wjechaniu w marker i po wpisaniu "/zamontuj" odje?o graczowi 1000 PLN i da?o mu gz (rh1)
Da rade kto? mi to zwyk?y kod pod gz tak przerobi? xd ? lub wys?a? inny skrypt tak zrobiony xd ?[/b]
[code] function getVehicleHandlingProperty ( element, property )
if isElement ( element ) and getElementType ( element ) == "vehicle" and type ( property ) == "string" then
local handlingTable = getVehicleHandling ( element )
local value = handlingTable[property]

if value then
return value
end
end

return false
end

function o(c)
if c then
local gora = getElementData(c, "rh:up") or 0
local s=getVehicleHandlingProperty(c,"suspensionForceLevel")
if tonumber(gora) == 4 then outputChatBox("Osi?gn??e? limit regulacji zawieszenia!", getVehicleController(c), 255, 255, 255) cancelEvent() return end
setVehicleHandling(c,"suspensionForceLevel",tonumber(s) - 0.19)
setElementData(c, "rh:up", gora+1)
outputChatBox("Obni?y?e? auto k****",getVehicleController(c),255,255,255,true)
end
end
addEvent("rh:o", true)
addEventHandler("rh:o", root, o)
function p(c)
if c then
local gora = getElementData(c, "rh:up") or 0
local s=getVehicleHandlingProperty(c,"suspensionForceLevel")
...
2. brama na komęde
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.2000000476837
outputChatBox ("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 )