Jump to content

Player got uid shown


Erzengelgames

Recommended Posts

Hey, i just wanted to ask if it is possible to get a link or a hint to a script which allowes to display a player his uid if it is called. does not metter as it is shown as hint, system message or copyed to clipcoard

what would be even greater .. if someone could tell me how to get somehting like player id displayed from database ingame to a user who calls the script. cause this would help a lot on things like support

Link to comment
Share on other sites

46 minutes ago, Erzengelgames said:

Hey, i just wanted to ask if it is possible to get a link or a hint to a script which allowes to display a player his uid if it is called. does not metter as it is shown as hint, system message or copyed to clipcoard

what would be even greater .. if someone could tell me how to get somehting like player id displayed from database ingame to a user who calls the script. cause this would help a lot on things like support

Infistar will display the players UID in the escape/pause menu

But, script wise it's pretty easy to display the playerUID:

systemChat format ["Your playerUID is: %1",dayz_playerUID];

dayz_playerUID is a variable that the playerUID is stored in client side.

Link to comment
Share on other sites

2 minutes ago, salival said:

Infistar will display the players UID in the escape/pause menu

But, script wise it's pretty easy to display the playerUID:


systemChat format ["Your playerUID is: %1",dayz_playerUID];

dayz_playerUID is a variable that the playerUID is stored in client side.

great. are there more variables like that for something like playours?

 

Link to comment
Share on other sites

Just now, Erzengelgames said:

great. are there more variables like that for something like playours?

 

playersNumber west;  (count players onlines)

dayz_Survived; (reals days survived by X player)

dayz_spawnselection (player spawn location)

(round diag_fps)    (fps)

(round diag_fpsmin)  (min fps)

(round(r_player_blood))    (blood amount)
 (round(dayz_hunger))      (hunger %)
 (round(dayz_thirst))         (thirst %)

(dayz_currentGlobalZombies)

(round(player getVariable['humanity', 0]))

_kills = player getVariable['humanKills', 0];
		_zkills = player getVariable['zombieKills', 0];
		_bkills = player getVariable['banditKills', 0];
		_killer = [_kills + _zkills + _bkills]call BIS_fnc_numberText; //show you in a unique line a count of those variables from above.

take a look in the default variables.sqf to find a little more. you also can check some debug_monitor.sqf maded by some one here to see others variables.

Link to comment
Share on other sites

3 hours ago, juandayz said:

playersNumber west;  (count players onlines)

dayz_Survived; (reals days survived by X player)

dayz_spawnselection (player spawn location)

(round diag_fps)    (fps)

(round diag_fpsmin)  (min fps)

(round(r_player_blood))    (blood amount)
 (round(dayz_hunger))      (hunger %)
 (round(dayz_thirst))         (thirst %)

(dayz_currentGlobalZombies)

(round(player getVariable['humanity', 0]))


_kills = player getVariable['humanKills', 0];
		_zkills = player getVariable['zombieKills', 0];
		_bkills = player getVariable['banditKills', 0];
		_killer = [_kills + _zkills + _bkills]call BIS_fnc_numberText; //show you in a unique line a count of those variables from above.

take a look in the default variables.sqf to find a little more. you also can check some debug_monitor.sqf maded by some one here to see others variables.

yeah allready alled als these last .. was like mhm iam gointg to ask first then try on ymy own ^^

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...