Page MenuHomeFeedback Tracker

BIS_fnc_MP doesn't execute on given player ID.
Closed, ResolvedPublic


The function does not execute at all when I send it to a client on my server.


Legacy ID
No Bug
Have Not Tried
Steps To Reproduce

[[[_vehicle] ,"vehicleAddAction.sqf"], "BIS_fnc_execVM", _id, false] spawn BIS_fnc_MP;

Nothing happens.

But when I have:
[[[_vehicle] ,"vehicleAddAction.sqf"], "BIS_fnc_execVM"] spawn BIS_fnc_MP;

It works.

The script where I am running it looks like this.

_uid = _this select 0;
_id = _this select 1;
_name = _this select 2;

_locName = (_x select 0);
_locName = toLower([_locName, " ", ""] call ED_strings_replace);
_locName = [_locName, "-", ""] call ED_strings_replace;
call compile format["%2 publicVariableClient ""%1"";
", _locName, _id];
} foreach RespawnLocations;

[[[_x] ,"vehicleAddAction.sqf"], "BIS_fnc_execVM", _id, false] spawn BIS_fnc_MP;
} foreach VehicleTrackArray; //An array containing vehicle objects

Additional Information

I need it for JIP scripting.

Event Timeline

Ed edited Steps To Reproduce. (Show Details)Jul 6 2013, 10:11 AM
Ed edited Additional Information. (Show Details)
Ed set Category to Scripting.
Ed set Reproducibility to Have Not Tried.
Ed set Severity to None.
Ed set Resolution to No Bug.
Ed set Legacy ID to 1340269801.May 7 2016, 3:20 PM

In your example, what's in _id variable?

Ed added a subscriber: Ed.May 7 2016, 3:20 PM
Ed added a comment.Jul 6 2013, 11:45 AM

Seems like I looked at the wrong feature for the error. The player ID returns 5.3...+e4(some weird number). I guess that's what was wrong actually.

I suggest to ask in the official forum (, maybe somebody encountered the same scripting problem you have before.

Closing here, BIS_fnc_MP works as intended.