1)1.
for (int other_players = 0; other_players < SAMP_MAX_PLAYERS; other_players++)
{
actor_info *actor = getGTAPedFromSAMPPlayerID(other_players);
how to get skin id for other_players
2.
and how to make text draw only on other_players and not on my player
for (int other_players = 0; other_players < SAMP_MAX_PLAYERS; other_players++)
{
actor_info *actor = getGTAPedFromSAMPPlayerID(other_players);
//actor_info * my_ac = actor_info_get(ACTOR_SELF, NULL);
if (!actor)
continue;
D3DXVECTOR3 player_pos, screenposs;
float * f_pos = &actor->base.matrix[4 * 3];
player_pos.x = f_pos[0];
player_pos.y = f_pos[1];
player_pos.z = f_pos[2];
CalcScreenCoors(&player_pos, &screenposs);
char pos[256], ping[256], hparmw[256], pnameid[256] ;
if (screenposs.z < 1.f)
continue;
// this text below is showed on my player also how to make it show only on other_players
_snprintf_s(skin, sizeof(skin) - 1, "Skin");
pD3DFont_sampStuff->PrintShadow(screenposs.x, screenposs.y - 12, COLOR_WHITE(255), skin);
thanks for help !
C++:
actor->base.model_alt_id;
C++:
player_pos.x = actor->base.matrix[12];
player_pos.y = actor->base.matrix[13];
player_pos.z = actor->base.matrix[14];