Ich bin kein Anfänger.
Natürlich werden die Sachen korrekt übergeben ansonsten könnte er nicht die übergenene PlayerID und den Namen in die Logs schreiben.
Edit:
JavaScript: life_fnc_name
#include "..\..\script_macros.hpp"
/*
File: fn_name.sqf
Date: 14.08.16
Author: Patrick "Lucian" Schmidt
Disclaimer: No one is allowed to use and edit my Script except for the DE100-ALTIS.life server and me.
Description:
Returns the name of a unit. Including a work around cause auf the !alive bug with the name command
in arma3.
*/
params[
["_object", objNull, [objNull]]
];
if (alive _object) then {
name _object;
} else {
_object getVariable ["realname",(format["NoName Found| netId: %1",netId _object])];
};
Alles anzeigen