1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
lol
and thanks mate for the share.
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;
}
}
}
finaly got the day off work working on this now.. will update you by the end of the day
i might buy this game mate , send me some cheats for it.