Hello, So i wanted to make a trader work for a UID instead of Hummanity. So here is what I did.
So i made this file called VIPlevel.sqf
if ((getPlayerUID player) in
[
"0",
"0",
"0"
]) then {
_playerObj setVariable["vip1_list",1,true];
};
if ((getPlayerUID player) in
[
"#",
"##",
"###"
]) then {
_playerObj setVariable["vip2_list",1,true];
};
if ((getPlayerUID player) in
[
"0",
"0",
"0"
]) then {
_playerObj setVariable["vip3_list",1,true];
};
Then at the top of the fn_selfActions.sqf I did this:
Question
Namindu
Hello, So i wanted to make a trader work for a UID instead of Hummanity. So here is what I did.
So i made this file called VIPlevel.sqf
Then at the top of the fn_selfActions.sqf I did this:
And then at the trader part this
Anybody know who to get this to work. As soon as i head to one of these trades the fn_selfActions.sqf stops working.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now