Buck0 Posted June 5, 2015 Report Share Posted June 5, 2015 I know it can be done, im looking at automating a starter kit for our players. Im looking for it to detect new players who login. So i can write up something automating the delivery of these kits. Does anyone know the variable? Im also aware once a restart occurs this information is wiped and they are no longer considered new players Link to comment Share on other sites More sharing options...
0 Guest Posted June 5, 2015 Report Share Posted June 5, 2015 I'm not sure what you mean. I think there actually is no variable for this, but multiple solutions using hive calls. I'm pretty sure there there is a hive call to gather character Information and Generation, check server player setup tho. If the result returns nothing the player is new to the server. Link to comment Share on other sites More sharing options...
0 SchwEde Posted June 5, 2015 Report Share Posted June 5, 2015 infistar has such option, where it displays complete new players for admin via systemchat Link to comment Share on other sites More sharing options...
0 Guest Posted June 5, 2015 Report Share Posted June 5, 2015 Look, what i found in server_playerLogin.sqf dayzPlayerLogin = [_charID,_inventory,_backpack,_survival,_isNew,dayz_versionNo,_model,_isHiveOk,_newPlayer,_isInfected]; (owner _playerObj) publicVariableClient "dayzPlayerLogin"; That's your solution mate :) Basically "_newPlayer" returns bolean, true or false. So you can ask locally -> waitUntil {!isNil dayzPlayerLogin}; waitUntil {count dayzPlayerLogin > 0}; private [_arrElement]; _arrElement = dayzPlayerLogin select 8; if (_arrElement) then { //IS NEW PLAYER }; Link to comment Share on other sites More sharing options...
0 SchwEde Posted June 5, 2015 Report Share Posted June 5, 2015 i once messed around with this. _newPlayer also should become true, when a player is respawning. Link to comment Share on other sites More sharing options...
Question
Buck0
I know it can be done, im looking at automating a starter kit for our players.
Im looking for it to detect new players who login. So i can write up something automating the delivery of these kits.
Does anyone know the variable?
Im also aware once a restart occurs this information is wiped and they are no longer considered new players
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now