How to get the player's name

dude_obj

Vault Senior Citizen
Moderator
You can get the player's name like this:

proto_data(obj_pid(dude_obj),1)

Useful for floating messages, dialog, and the pda display.
This writes the name to the pda display:

display_msg(proto_data(obj_pid(dude_obj),1));

Say my name bitch :lol:
 
There is a very special command for this:

obj_name(obj);

use like this:

display_msg(obj_name(dude_obj));
 
Back
Top