View Single Post
  #2  
Old 01-08-2012, 06:40 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
You can use this in a weapon and then click the object to find it's name:

PHP Code:
//#CLIENTSIDE
function onFirstResponderChanges(obj) {
  echo(
obj.name);

I have a feeling there's a public function you can use to do it though, someone else will have to help you with that if there is.
__________________
Quote:
Reply With Quote