Hard_sheep1998 0 Posted April 17, 2019 I was doing some editing yesterday i added a table on which i added a addaction. Now the thing is when i try to get the players name from the action it sometimes outputs my name then a name of a friend etc. So i was using systemchat format["%1", name player]; and it didnt output me the name of the player who clicked on the action. Is there any other way to get the name? Share this post Link to post Share on other sites
sarogahtyp 1105 Posted April 17, 2019 code? where and how executed? help us to help you and provide infos! 1 Share this post Link to post Share on other sites
Hard_sheep1998 0 Posted April 17, 2019 34 minutes ago, sarogahtyp said: code? where and how executed? help us to help you and provide infos! systemchat format ["%1", name player]; Basically this but just with BIS_fnc_MP so that everyone see my message. Share this post Link to post Share on other sites
sarogahtyp 1105 Posted April 17, 2019 player returns the local player object of the machine where the player command is executed! if u send that command to all machines then all clients should see their own name. Note: BIS_fnc_MP is deprecated. Use remoteExec instead! If you want to have more help then provide more info. Or maybe your code is a top secret thing? 1 Share this post Link to post Share on other sites
Hard_sheep1998 0 Posted April 17, 2019 13 minutes ago, sarogahtyp said: player returns the local player object of the machine where the player command is executed! if u send that command to all machines then all clients should see their own name. Note: BIS_fnc_MP is deprecated. Use remoteExec instead! If you want to have more help then provide more info. Or maybe your code is a top secret thing? oh thats true my mistake let me take the name first and then send it via remoteexec what a stupid mistake 😄 thanks Share this post Link to post Share on other sites