ggxjimmy 0 Posted March 1, 2007 is there a general command that states a player. like (player) or (veichle player) etc im not too sure of this. so far i have to give all the players in my muliplayer maps names, like West1,East1 then make a trigger and repeat the code for each player like ; West1 addeventhandler {....blah balh]. i want to know if theres a command that lists all players, even if they have names. Share this post Link to post Share on other sites
baddo 0 Posted March 1, 2007 player is the command you need. In every player computer in the multiplayer session, player has a different value. The value is of course, the player in that particular computer. So all you need to attach an event handler to each player unit is: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addEventHandler[...] Run the command in init.sqs or init.sqf so that it executes only once for each player. Share this post Link to post Share on other sites