Jump to content

Home

serverside: check clientmodel


Cohsty243

Recommended Posts

This bit of code should do it:

char* GetClientModelName ( int clientNum )
{
   char userinfo[MAX_INFO_STRING] = { 0 };

   trap_GetUserinfo (clientNum, userinfo, sizeof (userinfo));

   return Info_ValueForKey (userinfo, "model")
}

Haven't tested it though :p

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...