Jump to content
GIGN Forum

War3Ft - Help..


Recommended Posts

;DDDDDDDDDDDDDDDDDDDDDDDD

Linvisable Mastery

Impresion in Prision

5 vārdi, 3 no tiem vispār nepastāv angļu valodā ;DDDDDDDDDDD you made my day! ;)

if ( !( get_user_flags(id) & ADMIN_kaut_kas ) )

{

jāparveido teksts menu ;

}

Link to comment
Share on other sites

Es par šito jau sen biju aizdomājies, vnk nezināju kā to izdarit, tapec metu mieru, tad spēleju tajā serverī un ieraudziju, ka chamaleon zem vip un gribeju uzzināt, kā to panākt gatavu.

Anyway, man te kkas nesanāca, kāds var paskaidrot, kas tad isti šitā vietā jaraksta, tātad menus.inl -

if ( id && !( get_user_flags( id ) & XP_GetAdminFlag() ) )

{

client_print(id,print_center,"%s %L",g_MODclient, id,"YOU_HAVE_NO_ACCESS")

return PLUGIN_HANDLED

}

Edited by prik-
Link to comment
Share on other sites

Atrodi šo kodu iekš menus.inl

// Race the user wants to change to

else if ( i == p_data[id][P_CHANGERACE] - 1 )

{

pos += formatex( szMenu[pos], 512-pos, "\r%d. %s\r\R%s^n", i + 1, szRaceName, ( (get_pcvar_num( CVAR_wc3_save_xp )) ? szXP : " " ) );

iKeys |= (1<<i);

}

un uzreiz aiz viņā ievieto šo kodu.

else if ( i == 8 && !is_user_admin(id))

{

pos += formatex( szMenu[pos], 512-pos, "\d%d. %s\d\R%s^n", 9, szRaceName, ( (get_pcvar_num( CVAR_wc3_save_xp )) ? szXP : " " ) );

}

Ceru pa izpalīdzēju. ;)

Edited by KeeP oFf
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...