Ponki2x2
Wiek: 36 Na forum: 4638 dni Posty: 19
Witam Mam napisa brame ale ona jest nieruchoma a info na czacie mam ?e otwieram zamykam KOD:
Kod: bramab = createObject( 980,2495.21999511719,2773.3000488281,12.60000038147,0,0,90)
function bramao (thePlayer)
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Kepno")) then
moveObject ( bramab, 2495.1999511719,2773.3000488281,5.5999999046326)
outputChatBox("Trwa Otwieranie Bramy Gangu.",thePlayer,255,0,255,true)
end
end
addCommandHandler("open",bramao)
function bramaz (thePlayer)
if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Kepno")) then
moveObject ( bramab, 2495.21999511719,2773.3000488281,12.60000038147)
outputChatBox("Trwa Zamykanie Bramy Gangu.", thePlayer,255,0,255,true)
end
end
addCommandHandler("close",bramaz)