Jump to content
Facebook Twitter Youtube

Marlboro™

Members
  • Posts

    737
  • Joined

  • Last visited

  • Country

    Albania

Everything posted by Marlboro™

  1. Your Nickname: Marlboro Your Problem: As I enter in a zombie server I see all zombies Leet and all humans Gign, not with zombie models Screenshot:
  2. Back where you belong... Keep it up!

    1. Playboy™

      Playboy™

      Thanks you mate:bad_boys_20:

  3. I need a good gfx designer for one job. Who think is the best PM me!

    1. BhooTh

      BhooTh

      Yea why you need gfx designer bro? 

    2. AFROJACK™

      AFROJACK™

      Watch my gallery dude :25r30wi:

  4. Contact me in PM to discuss about it
  5. 10 days away from work and city life! Enjoying vacations :yuhu:

  6. Finally Zombie Plague 6.0 Addons finished! I thank all who supported me in this project!

    1. I'M A NINJA

      I'M A NINJA

      a jon te mira addons bir a bajn ?

       

    2. #king 0F DARK
  7. Tell founder of server to install steam update from game panel and problem will be solved
  8. Zombie Plague 6.0 - 90% Complete:rambo:

    1. greeNZ

      greeNZ

      congratulation man

    2. #king 0F DARK
  9. Today I will start again the lessons! Be prepared...

    P.s: Tell me what lesson you want me to do

    1. AFROJACK™

      AFROJACK™

      Lesson Number 1 : Always open the road to a donkey xd

  10. Sorry for being late I was on vacations. Congrats and Good Luck!

  11. Half-Life 1 Half-Life Opposing Force Half-Life Blue Shift Midnight Racing Medal Of Honor Allied Assault
      • 2
      • I love it
  12. Open "Run" in Desktop and type there "regedit". You will go to registry of displays in folder valve in the folder when game is installed and choose the appropriate resolution. Good Luck!
  13. On vacatios but still working xD! Zombie Plague 6.0 addons coming soon! :rambo:

    1. Show previous comments  1 more
    2. #king 0F DARK

      #king 0F DARK

      good luck and best luck 

    3. Gaurav O_o

      Gaurav O_o

      Good luck and be Like A Good Man

    4. Adem-

      Adem-

      Good luck

  14. Today I take vacations. Fortunately someone reported me in facebook so even that is closed, a matter which I had decided to close on my own. So I wont have to close it to enjoy holidays.

    Every private message of type "pain in the ass" will be read and deleted. Requests for admin will be also read and deleted. Cancer messages like Hi, hello, how are you I give a single response I am and I will be fine.

    For true friends, Marlboro will be back on 28 August.

    Good Luck!

    1. Hardcore™

      Hardcore™

      Goodluck... :yuhu:

    2. #king 0F DARK

      #king 0F DARK

      if you fb closed by test pictures or something contact me my be help you i was report fbs and banned many acounts in fb but i left this job

    3. Adem-

      Adem-

      Good luck my friend 

      Im waiting u anytime anywhere

      Have a nice vacation

      Ur friend : ADEM CA

  15. Congrats for moderator, you totally deserves it!

    1. Pedro's Klinefelter

      Pedro's Klinefelter

      Thank you so much my friend! thank you : )

  16. Thank you Pedro, my problem is solved! Moderators can close the topic!
  17. I had this CS in windows 8 and everything was well. Now i formatted the PC to Win7 and this problem occurs. It is true that CS runs with addons but not added by me because I use different cs for gaming and other for building addons. Anyway I deleted addons and I have same problem
  18. Marlboro™

    Need Support

    Your Nickname: Marlboro Your Problem: Every time I want to connect with one of Zombie Plague 6.2 servers in CSBD my CS 1.6 is not responding. This happens only on original Zombie Plague 6.2 servers because I can connect to any server! Screenshot: I think it is not necessary
  19. Hello all devils! Today I am going to show you how to color your chat for every plugin in AMXX. As you see the necessity of this feature makes messages in chat with different colors. Like this: As you see in this text different parts of it have green color. But how to make it? This is very simple and I will show you right now. Firstly we need an include file named "colorchat.inc". Here is the code: #if defined _colorchat_included #endinput #endif #define _colorchat_included /* ColorChat Support */ #define NORMAL DontChange #define GREEN DontChange #define TEAM_COLOR DontChange #define RED Red #define BLUE Blue #define GREY Grey #define ColorChat client_print_color /* ColorChat Support */ enum _:Colors { DontChange, Red, Blue, Grey } stock const g_szTeamName[Colors][] = { "UNASSIGNED", "TERRORIST", "CT", "SPECTATOR" } stock client_print_color(id, iColor=DontChange, const szMsg[], any:...) { // check if id is different from 0 if( id && !is_user_connected(id) ) { return 0; } if( iColor > Grey ) { iColor = DontChange; } new szMessage[192]; if( iColor == DontChange ) { szMessage[0] = 0x04; } else { szMessage[0] = 0x03; } new iParams = numargs(); // Specific player code if(id) { if( iParams == 3 ) { copy(szMessage[1], charsmax(szMessage)-1, szMsg); } else { vformat(szMessage[1], charsmax(szMessage)-1, szMsg, 4); } if( iColor ) { new szTeam[11]; // store current team so we can restore it get_user_team(id, szTeam, charsmax(szTeam)); // set id TeamInfo in consequence // so SayText msg gonna show the right color Send_TeamInfo(id, id, g_szTeamName[iColor]); // Send the message Send_SayText(id, id, szMessage); // restore TeamInfo Send_TeamInfo(id, id, szTeam); } else { Send_SayText(id, id, szMessage); } } // Send message to all players else { // Figure out if at least 1 player is connected // so we don't send useless message if not // and we gonna use that player as team reference (aka SayText message sender) for color change new iPlayers[32], iNum; get_players(iPlayers, iNum, "ch"); if( !iNum ) { return 0; } new iFool = iPlayers[0]; new iMlNumber, i, j; new Array:aStoreML = ArrayCreate(); if( iParams >= 5 ) // ML can be used { for(j=4; j<iParams; j++) { // retrieve original param value and check if it's LANG_PLAYER value if( getarg(j) == LANG_PLAYER ) { i=0; // as LANG_PLAYER == -1, check if next parm string is a registered language translation while( ( szMessage[ i ] = getarg( j + 1, i++ ) ) ) {} if( GetLangTransKey(szMessage) != TransKey_Bad ) { // Store that arg as LANG_PLAYER so we can alter it later ArrayPushCell(aStoreML, j++); // Update ML array saire so we'll know 1st if ML is used, // 2nd how many args we have to alterate iMlNumber++; } } } } // If arraysize == 0, ML is not used // we can only send 1 MSG_BROADCAST message if( !iMlNumber ) { if( iParams == 3 ) { copy(szMessage[1], charsmax(szMessage)-1, szMsg); } else { vformat(szMessage[1], charsmax(szMessage)-1, szMsg, 4); } if( iColor ) { new szTeam[11]; get_user_team(iFool, szTeam, charsmax(szTeam)); Send_TeamInfo(0, iFool, g_szTeamName[iColor]); Send_SayText(0, iFool, szMessage); Send_TeamInfo(0, iFool, szTeam); } else { Send_SayText(0, iFool, szMessage); } } // ML is used, we need to loop through all players, // format text and send a MSG_ONE_UNRELIABLE SayText message else { new szTeam[11], szFakeTeam[10]; if( iColor ) { get_user_team(iFool, szTeam, charsmax(szTeam)); copy(szFakeTeam, charsmax(szFakeTeam), g_szTeamName[iColor]); } for( i = 0; i < iNum; i++ ) { id = iPlayers[i]; for(j=0; j<iMlNumber; j++) { // Set all LANG_PLAYER args to player index ( = id ) // so we can format the text for that specific player setarg(ArrayGetCell(aStoreML, j), _, id); } // format string for specific player vformat(szMessage[1], charsmax(szMessage)-1, szMsg, 4); if( iColor ) { Send_TeamInfo(id, iFool, szFakeTeam); Send_SayText(id, iFool, szMessage); Send_TeamInfo(id, iFool, szTeam); } else { Send_SayText(id, iFool, szMessage); } } ArrayDestroy(aStoreML); } } return 1; } stock Send_TeamInfo(iReceiver, iPlayerId, szTeam[]) { static iTeamInfo = 0; if( !iTeamInfo ) { iTeamInfo = get_user_msgid("TeamInfo"); } message_begin(iReceiver ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, iTeamInfo, .player=iReceiver); write_byte(iPlayerId); write_string(szTeam); message_end(); } stock Send_SayText(iReceiver, iPlayerId, szMessage[]) { static iSayText = 0; if( !iSayText ) { iSayText = get_user_msgid("SayText"); } message_begin(iReceiver ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, iSayText, .player=iReceiver); write_byte(iPlayerId); write_string(szMessage); message_end(); } stock register_dictionary_colored(const filename[]) { if( !register_dictionary(filename) ) { return 0; } new szFileName[256]; get_localinfo("amxx_datadir", szFileName, charsmax(szFileName)); format(szFileName, charsmax(szFileName), "%s/lang/%s", szFileName, filename); new fp = fopen(szFileName, "rt"); if( !fp ) { log_amx("Failed to open %s", szFileName); return 0; } new szBuffer[512], szLang[3], szKey[64], szTranslation[256], TransKey:iKey; while( !feof(fp) ) { fgets(fp, szBuffer, charsmax(szBuffer)); trim(szBuffer); if( szBuffer[0] == '[' ) { strtok(szBuffer[1], szLang, charsmax(szLang), szBuffer, 1, ']'); } else if( szBuffer[0] ) { strbreak(szBuffer, szKey, charsmax(szKey), szTranslation, charsmax(szTranslation)); iKey = GetLangTransKey(szKey); if( iKey != TransKey_Bad ) { while( replace(szTranslation, charsmax(szTranslation), "!g", "^4") ){} while( replace(szTranslation, charsmax(szTranslation), "!t", "^3") ){} while( replace(szTranslation, charsmax(szTranslation), "!n", "^1") ){} AddTranslation(szLang, iKey, szTranslation[2]); } } } fclose(fp); return 1; } Copy and paste this code into notepad and save it on Counter-Strike / cstrike / addons / amxmodx / scripting / includes Now let's take a simple example. I have a plugin which shows time left on a map. This is how it looks without colorchat: Now let's color it. Open this plugin script and in the includes row write: #include <colorchat> Then find the row where message is displayed. In our case is this: client_print(0, print_chat, "Time Left: %d:%d", (a / 60), (a % 60)) Now we need to color it. Replace "client_print" to "ColorChat". Then replace "print_chat" with one of the following: NORMAL - Default. Color wouldn't change TEAM_COLOR - The color of text will be like the color of the team, Red for Terrorist and Blue for CT GREEN - Green color BLUE - Blue Color RED - Red Color GREY - White Color Now remember. Colors are expressed with numbers: ^1 - Default (Yellow) ^4 - Green color ^3 - Depends on TEAM_COLOR, GREEN, RED, BLUE, GRAY Now let's put colors: ColorChat(0, GREEN, "Time Left:^4 %d:%d", (a / 60), (a % 60)) Now compile plugin and something like this will be printed in chat: That was the whole tutorial. Any questions you have don't hesitate to ask me. Cheers!
      • 2
      • I love it
  20. Hello all! In this tutorial I will show you how to protect plugins through an IP address. If you have a server and you don't want other possible hackers or even managers steal your files in FTP this is the easier way. Firstly we need a easy file which we will call "protection.inc". This is a type of file which allow usage of it's codes into an script (.sma file). Here is the code for protection: public ip_protection() { // Protection for servers new szIP[33] get_user_ip(0, szIP, charsmax(szIP), 0) if( !equali(szIP, "198.168.1.2:27015") ) // Put here your IP addres together with port { server_cmd("shutdownserver"); set_fail_state("This plugin is private! Contact Skype: sotiraqsa7"); //Message on console after plugin fails } } After copying text, paste it on notepad and save as "protection.inc" in folder Counter-Strike/cstrike/addons/amxmodx/scripting/include. Be careful to save the file in the format of .inc or the include won't work. Now as I said we need to use these codes for protecting the plugin. So open the .sma file of plugin you want to protect. In the beginning of the code where are declared includes write: #include <protection> Then find the main function which is public plugin_init. After you found it add there this: public plugin_init() { ip_protection() Warning! Make sure to write "ip_protection()" inside braces or plugin won't be compiled! Then compile the plugin and add it to your server. If somebody runs the plugin it will look like this: Warning! This method is used only for hosted or VPS servers. Any attempt of using it in local server won't be successful because every time you start New Game in Counter Strike IP changes and it is impossible to be static. This was the whole tutorial. Feel free to ask any questions if any problem occurs! Cheers!
      • 7
      • I love it
      • Like
  21. In laptop you cant do recordings because graphic card of the laptop is very low quality. With such programs like Bandicam you use for recordings fps get very low. I suggest you to record demos then convert them into video files.
  22. Very great job guys (if you know what I am talking about)!

    If you cant accept, compete with equal forces but don't harm my business!

WHO WE ARE?

CsBlackDevil Community [www.csblackdevil.com], a virtual world from May 1, 2012, which continues to grow in the gaming world. CSBD has over 70k members in continuous expansion, coming from different parts of the world.

 

 

Important Links