Quantcast
Channel: Open DayZ Community
Viewing all articles
Browse latest Browse all 9146

UID restriction help

$
0
0
Hi!

I am trying to restrict deploy bike script only for donators. This is what i have and its doesnt seem to work

fn_selfActions.sqf
near top:
Code:
_deploybikedonors = ["231720134","74271814","239981382","239982214"]
These are the IDs that will be allowed to deploy a bike

Deploy bike script:
Code:
//BIKE DEPLOY
if ("ItemToolbox" in _weapons and (getPlayerUID player) in _deploybikedonors) then {
        hasBikeItem = true;
    } else { hasBikeItem = false;};
    if((speed...
UID restriction help

Viewing all articles
Browse latest Browse all 9146

Trending Articles