Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public VipInfo( iPlayer ) {
- new szMotd[ 2048 ];
- new iLength = 0;
- iLength = formatex( szMotd, charsmax( szMotd ), "<html><head><style type=^"text/css^">body{color:#3399ff;margin:5px;background:black;font-family:Arial, Helwetica, Sans-Serif;font-size:17px;font-weight:bold;} .v{color:lime;}</style></head><body><h1>Vip info:</h1><ul>" );
- if( g_iSettingsBhop )
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_BHOP" );
- if( g_iSettingsJumps )
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_EXTRA_JUMPS", g_iSettingsJumps );
- if( g_iSettingsHeResistance )
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_HE_RESISTANCE" );
- if( g_iSettingsFallDamageDisabled )
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_FALL_DAMAGE_DISABLED" );
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_KILL_XP", g_iSettingsXpForKill );
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_KILL_GOLD", g_iSettingsGoldForKill );
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_C4_XP", g_iSettingsC4XP );
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "<li>%L</li>", LANG_PLAYER, "ML_VIP_C4_GOLD", g_iSettingsC4Gold );
- iLength += formatex( szMotd[ iLength ], charsmax( szMotd ) - iLength, "</ul>" );
- show_motd( iPlayer, szMotd, "VIP INFO" );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement