Author Topic: Esp for all mods.  (Read 1163 times)

0 Members and 1 Guest are viewing this topic.

jihad11

  • Online Villain
  • ***
  • Posts: 106
  • Im a bot DING DONG
    • View Profile
Esp for all mods.
« on: July 14, 2012, 06:48:21 pm »
This function is just for people wanting to make an ESP for all mods. All you do is just call the function then return the value
in your ESP function for the players.

Code: [Select]
int ModelStructures()
{
cl_entity_t *local = gEngfuncs.GetLocalPlayer();
hud_player_info_t pinfo;

for(int i = 0; i < 33; i++)
{
cl_entity_s *ent = gEngfuncs.GetEntityByIndex(i);
gEngfuncs.pfnGetPlayerInfo(i, &pinfo);

if(i == local->index)
{
if( strstr( pinfo.model, "axis-inf" ) || strstr( pinfo.model, "axis-para" ) || strstr( pinfo.model, "axis-infT" )  || strstr( pinfo.model, "axis-paraT" ) ||strstr( pinfo.model, "arctic" ) || strstr( pinfo.model, "guerilla" ) || strstr( pinfo.model, "leet" ) || strstr( pinfo.model, "terror" ) || strstr( pinfo.model, "alien1" ) || strstr( pinfo.model, "alien2" ) || strstr( pinfo.model, "alien3" ) || strstr( pinfo.model, "alien4" ) || strstr( pinfo.model, "alien5" ) || strstr( pinfo.model, "militia" ) )
{
return  1;
}
else if( strstr( pinfo.model, "us-inf" ) || strstr( pinfo.model, "us-para" ) || strstr( pinfo.model, "us-infT" )  || strstr( pinfo.model, "us-paraT" ) || strstr( pinfo.model, "gign" ) || strstr( pinfo.model, "gsg9" ) || strstr( pinfo.model, "sas" ) || strstr( pinfo.model, "urban" ) || strstr( pinfo.model, "vip" ) || strstr( pinfo.model, "commander" ) || strstr( pinfo.model, "gestate" ) || strstr( pinfo.model, "heavy" ) || strstr( pinfo.model, "soldier" ) || strstr( pinfo.model, "spetsnaz" )else if( strstr( pinfo.model, "brit-inf" ) || strstr( pinfo.model, "brit-infT" )  )
{
return 2;
}

return 0;
}
}
}

Have fun

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Esp for all mods.
« Reply #1 on: July 14, 2012, 07:48:26 pm »
lol

and thanks mate for the share.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

jihad11

  • Online Villain
  • ***
  • Posts: 106
  • Im a bot DING DONG
    • View Profile
Re: Esp for all mods.
« Reply #2 on: July 14, 2012, 10:13:07 pm »
lol

and thanks mate for the share.

If i find new and good stuff i'll keep sharing