lmapper Posted May 2, 2014 Report Share Posted May 2, 2014 What's wrong, guys ? Action just dont appear when player got hemp. fn_selfactions.sqf if ("ItemKiloHemp" in _mags) then { // KiloHempScript by me :D if (s_player_hemp < 0) then { s_player_hemp = player addaction["Smoke hemp","scripts\hemp.sqf","",2,false,true,"", ""]; } else { player removeAction s_player_hemp; s_player_hemp = -1; }; }; Link to comment Share on other sites More sharing options...
0 avdieking Posted May 9, 2014 Report Share Posted May 9, 2014 dont do it with addaction make a right click option on that item for your script addacrions are shit Link to comment Share on other sites More sharing options...
Question
lmapper
What's wrong, guys ?
Action just dont appear when player got hemp.
fn_selfactions.sqf
Link to comment
Share on other sites
26 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now