See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: Id of UMMU  (Read 1931 times)

0 Members and 1 Guest are viewing this topic.

Offline gattico

  • Sr. Member
  • ****
  • Posts: 337
  • Country: United States us
  • Karma: 15
20 August 2012, 14:31:02
Is there a way to read the id of your crew on board?

So if a Capt boards/enters the airlock of your vessel you could show a Captian mesh.



Post Edited ( 08-20-12 14:31 )


Offline gattico

  • Sr. Member
  • ****
  • Posts: 337
  • Country: United States us
  • Karma: 15
Reply #1 - 30 September 2012, 13:25:59
I got it

Code: [Select]
const char *p1MiscID = Crew.GetCrewMiscIdBySlotNumber(0);

if(!_strnicmp(p1MiscID,"vip",3))SetMeshVisibilityMode( CREW2, MESHVIS_ALWAYS ); //show VIP

« Last Edit: 30 September 2012, 13:26:00 by gattico »