|
You last visited: Today at 19:52
Advertisement
[Tut]Esp for all Mods
Discussion on [Tut]Esp for all Mods within the Coding Tutorials forum part of the General Coding category.
10/16/2012, 16:42
|
#1
|
elite*gold: 0
Join Date: Jan 2008
Posts: 652
Received Thanks: 56
|
[Tut]Esp for all Mods
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:
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
|
|
|
10/21/2012, 11:39
|
#2
|
elite*gold: 12
Join Date: Aug 2011
Posts: 455
Received Thanks: 418
|
Which game?
|
|
|
 |
Similar Threads
|
[Sammelthread]Rez-Mods, Ani Base Mods & Cross Mods
05/31/2012 - Combat Arms - 13 Replies
Hey,
da Daarmy vorgeschlagen hat, dass ich einen Sammelthread erstelle für alle Rez-Mods, tuhe ich dies hier.
Ihr könnt von mir aus auch selbst Rez-Mods, Ani Base Mods & Cross Mods hier präsentieren.
Meine Mods:
Die alten Accolades!
Hier sind die alten Accolades die ich zumindest viel besser finde. Außerdem lässt es sich mit den viel besser spielen :>!
|
Minecraft 24/7 server sucht MOds,Mods und ADmins
01/25/2012 - Minecraft Server Advertising - 8 Replies
hallo ich wolte euch heute meine 24/7 server vorstellen er hat mom. nur 8 slots aber in einem monat 20 und jeden monat wird der server um 5-20 slots je nach donats erhöht der Server wird auch viele geile Plugins haben aber im mom. hat er nur das nötigste die ip ist
Domain.minecraft.to:25565
|
Game admin, chat mods, forum mods, and support mods from Darkorbit need to be exposed
01/20/2012 - DarkOrbit - 14 Replies
If anyone has the user names on darkorbit mods and admin lets get them exposed. bet you will be surprised who they are and how the are taking advantage of the game we love.
|
PLEASE READ: RUNNING FOR V.MODS or acting mods, not real mods .
05/04/2011 - General Gaming Discussion - 1 Replies
Hi there, If you are reading this thread well .. This is important, This thread is about V. mods, Not real mods, But acting mods, If you cant understand just be specific, And if you are Dutch,espaniol,etc. Go translate what im saying,
- I, Quiva, Promises to make this forum away from spamming and other "ming" . I have experience in moderating one's forum, So please support me as a V.mod or "acting mods here" not real mods .
- Thanks for reading and may "Internet" bless us .:handsdown:
...
|
All times are GMT +1. The time now is 19:52.
|
|