Can anyone please let me know how I can restrict a addaction so only player named "s1" can see / use it ?
using this on my object
Code:Sqh=this addAction ["Get Intel !", "intel.sqf"];
Can anyone please let me know how I can restrict a addaction so only player named "s1" can see / use it ?
using this on my object
Code:Sqh=this addAction ["Get Intel !", "intel.sqf"];
Sqh = this addAction ["Get Intel!", "intel.sqf", nil, 1, true, true, "", "vehicleVarName _this == 's1'"];
Sqh= s1 addAction ["Get Intel !", "intel.sqf"]; it worked for *.sqs, maybe will not work for *.sqf
Could not find anything on the Addaction for MP , Is this correct ?
I need it so only players get the addaction if "actionActive" is true .
OK solved i was missing a "," !Code:////_informant is the man I created///// [nil, _informant, "per", rADDACTION, "Get Information","intel1.sqf""",1,false,true,"","actionActive"] call RE;
Last edited by psvialli; Jun 9 2012 at 13:09. Reason: Solved