Показать сообщение отдельно

  #142  
Старый 23.06.2013, 18:34
Skel
Познающий
Регистрация: 31.03.2013
Сообщений: 92
С нами: 6903095

Репутация: 0
По умолчанию

Цитата:
Сообщение от Norma_Cheater  

Как сделать что бы я нажал например кнопку "9" и рядом появилась жёлтая надпись "Встань тут" типо / teleport: 0
Цитата:
Сообщение от Спойлер  

void RenderTeleportTexts ( void )

{

inti;

struct actor_info*self = actor_info_get( ACTOR_SELF, 0 );

charbuf[32];

if ( cheat_state->_generic.cheat_panic_enabled )

return;

if ( self != NULL )

{

for ( i = 0; i teleport.matrix[4 * 3], pos );

if ( vect3_near_zero(pos) )

continue;

if ( vect3_dist(pos, &self->base.matrix[4 * 3]) > set.player_tags_dist )

continue;

poss.x = pos[0];

poss.y = pos[1];

poss.z = pos[2];

CalcScreenCoors( &poss, &screenposs );

screenpos[0] = screenposs.x;

screenpos[1] = screenposs.y;

screenpos[2] = screenposs.z;

if ( screenpos[2] PrintShadow( screenpos[0], screenpos[1] - 5.0f, D3DCOLOR_XRGB(0, 200, 200), buf );

}

}

}

наверно это
 
Ответить с цитированием