Hi
you need a new script instead of the init.sqf. Let's call this script actions.sqf:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">if (side player == west) then
{
{
_x addaction ["Arrest Civilian", "arrest.sqs"];
_x addaction ["Fine Civilian", "fine.sqf"];
_x addaction ["Disarm Civilian", "disarm.sqf"];
_x addAction ["Check Licence", "clicence.sqs"];
} foreach [c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16,c17,c18,c19,c20,c21,c22];
player addaction ["Stats", "stats.sqf"];
}
else
{
player addaction ["Hands Up", "HandsUp.sqs"];
player addaction ["Stats", "stats.sqf"];
};
Now, add a trigger with the following settings:
Activation: None, Once
Condition: local player
On Activation: temp = [] execVM "actions.sqf"
P.S. you should clear the init.sqf when you have done it this way.