Jey Posted October 23, 2014 Report Share Posted October 23, 2014 Hello, I would to create a dialog if the client is in a specific array of id, and the array is server side located. How could I do that? Thanks Link to comment Share on other sites More sharing options...
0 Sandbird Posted October 23, 2014 Report Share Posted October 23, 2014 http://killzonekid.com/arma-scripting-tutorials-basic-multiplayer-coding/ Link to comment Share on other sites More sharing options...
0 0verHeaT Posted October 23, 2014 Report Share Posted October 23, 2014 You could create a public variable in your server_monitor.sqf where you store your PlayerUIDs PV_admins =["0123456789","9876543210"]; publicVariable "PV_admins"; In your mission file you set all the IDs from you server_monitor.sqf to a new array. e.g. waitUntil {sleep 1; !isNil "PV_admins"}; admin_list = []; for "_i" from 0 to ((count PV_admins) - 1) do { private ["_plyrid"]; _plyrid = (PV_admins select _i); admin_list set [count admin_list,_plyrid]; }; Link to comment Share on other sites More sharing options...
0 Jey Posted October 24, 2014 Author Report Share Posted October 24, 2014 @Sandbird @0verHeaT Thank you for that, but could a hacker through modifiy the memory add himself to the client-side variable nope? Link to comment Share on other sites More sharing options...
0 Sandbird Posted November 1, 2014 Report Share Posted November 1, 2014 A hacker can do anything :/ Link to comment Share on other sites More sharing options...
Question
Jey
Hello,
I would to create a dialog if the client is in a specific array of id, and the array is server side located. How could I do that?
Thanks
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now