Wie mach ich das, dass bestimmte funktionen nur bestimmte gruppen ausführen können?
z.B. das FBI-Toor. Also dass das nur leute öffnen können, die in der gruppe FBI sind.
function createTheGate ()
FBI1 = createObject ( 980, -2432.213, 497.530, 31.707, 0, 0, 25 )
end
addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
function openMyGate ( )
moveObject( FBI1, 3000, -2442.691, 493.002, 31.707)
end
addCommandHandler("fbio",openMyGate)
function movingMyGateBack ()
moveObject( FBI1, 3000, -2432.213, 497.530, 31.707 )
end
addCommandHandler("fbic",movingMyGateBack)
mfg.StylezZ