st = createObject ( 980, -1571.9000244141, 661.59997558594, 9, 0, 0, 180 )
function stO ()
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Policja")) then
moveObject ( st, 1000, -1571.9000244141, 661.59997558594, 3.2000000476837)
outputChatBox ("Otwieranie trwa", source, 219, 78, 1, true )
end
end
addCommandHandler("polio", stO )
function stC ()
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Policja")) then
moveObject ( st, 1000, -1571.9000244141, 661.59997558594, 9 )
outputChatBox ("Zamykanie Trwa", source, 219, 78, 1, true )
end
end
addCommandHandler("polic", stC )