I'm trying to alert a user that their base is being broken into. The script already fetches the _ownerID = _CursorTarget getVariable ["ownerPUID","0"];
How do I systemchat format to the object owner?
For example:
_ownerID = _cursorTarget getVariable ["ownerPUID","0"];
systemChat(format["SOMEONE IS TRYING TO BREAK INTO %1 s BASE ",_ownerID)]);
This would put it to everyone but I need to just put it to the owner of that object.
Can you do? :
_ownerID = _cursorTarget getVariable ["ownerPUID","0"];
_ownerID systemChat(format["SOMEONE IS TRYING TO BREAK INTO YOUR BASE!")]);
Question
JakeQue
Hi,
I'm trying to alert a user that their base is being broken into. The script already fetches the _ownerID = _CursorTarget getVariable ["ownerPUID","0"];
How do I systemchat format to the object owner?
For example:
_ownerID = _cursorTarget getVariable ["ownerPUID","0"]; systemChat(format["SOMEONE IS TRYING TO BREAK INTO %1 s BASE ",_ownerID)]);
This would put it to everyone but I need to just put it to the owner of that object.
Can you do? :
_ownerID = _cursorTarget getVariable ["ownerPUID","0"]; _ownerID systemChat(format["SOMEONE IS TRYING TO BREAK INTO YOUR BASE!")]);
Link to comment
Share on other sites
2 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