GetPlayerInfoCoreVal
Category: Script/Getter/Player
Since engine version: 4.9.1.0 GWE
Description
Returns the property value of a player by its name in the Player.txt.
Syntax
any GetPlayerInfoCoreVal
(string strEntry, string strSection, id iPlayer, int iEntryNr);
Parameters
- strEntry:
-
Name of the entry to be retrieved
- strSection:
-
[optional] Section of the entry to be retrieved. If 0, all sections will be searched for an entry of the specified name.
- iPlayer:
-
[optional] Player of which to retrieve an entry.
- iEntryNr:
-
[optional] Index of the value to be retrieved if an entry contains multiple values.
Remark
For technical reasons there can not be a corresponding function SetPlayerVal.
jwk, August 2002