Wrote simple Menu option to show but i keep getting errors (but it is working)
I pasted in fn_selfActions.sqf
if ((speed player <= 1) && _canDo) then {
if (s_player_walk < 0) then {
s_player_walk = player addaction [("<t color=""#ffa500"">" + ("Auto") + "<t color=""#ffffff"">" + (" Walk") + "</t>"),"custom\tools\automove.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_walk;
s_player_walk = -1;
};
IT works, but keep spamming in client's RPT:
Error in expression <peed player <= 1) && _canDo) then {
if (s_player_walk < 0) then {
s_player_w>
Error position: <s_player_walk < 0) then {
s_player_w>
Error Undefined variable (in sentence i guess): s_player_walk
File mpmissions\__CUR_MP.Chernarus\custom\fn_selfActions.sqf, line 19
Why these errors are kinda bugged and why they are even there?
Question
se7en
Wrote simple Menu option to show but i keep getting errors (but it is working)
I pasted in fn_selfActions.sqf
IT works, but keep spamming in client's RPT:
Link to comment
Share on other sites
4 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