Hi everyone!
I'm designing my own vehicles with their own features.
I have, for example, following code:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_grenadesfire = _vehicle addaction [""Fire!"", ""\MY\fire.sqf""];
Lines from 'fire.sqf':
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">...
_grenade = "G_40mm_HE" createvehicle _pos;
_grenade setvelocity _vel;
...
This grenade will have no owner, so the player will get no points, if get killed someone.
So how i can assign an owner to that shell? Any ideas?