Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

Don Mishiundefined

Don Mishi

@Don Mishi
About
Posts
6
Topics
0
Shares
0
Groups
0
Followers
13
Following
8

Posts

Recent Best Controversial

  • [Support] Zombie Counter! Help
    Don Mishiundefined Don Mishi

    Kalitos Pude solucionar el error del "setSafeText", el problema que aparece en la imagen aún no.

    BO2 Modding Support & Discussion

  • [Support] Zombie Counter info
    Don Mishiundefined Don Mishi

    Cahz

    #include maps\mp\_utility;
    #include common_scripts\utility;
    #include maps\mp\gametypes_zm\_hud_util;
    #include maps\mp\gametypes_zm\_hud_message;
    
    init()
    {
        level.perk_purchase_limit = 9;
        for(;;)
        {
            level waittill("connected", player);
            player thread welcome();
        }
    
        level thread drawZombiesCounter();
    }
    
    welcome()
    {
        self endon("disconnect");
        self waittill("spawned_player");
        wait 7;
    	self iprintln("^2" +self.name + "^7 , your perk limit has been removed");
    }
    
    drawZombiesCounter()
    {
        level.zombiesCounter = createServerFontString("hudsmall" , 1.9);
        level.zombiesCounter setPoint("CENTER", "CENTER", "CENTER", 190);
        while(true)
        {
        	enemies = get_round_enemy_array().size + level.zombie_total;
            if( enemies != 0 )
            	level.zombiesCounter.label = &"Zombies: ^1";
            else
            	level.zombiesCounter.label = &"Zombies: ^6";
            level.zombiesCounter setValue( enemies );
            wait 0.05;
        }
    }
    

    2021-04-12 (2).png

    ¿Podrías ayudarme a decir qué es lo que estoy haciendo mal y que me salga ese error? 😞

    BO2 Modding Support & Discussion

  • [Support] Zombie Counter! Help
    Don Mishiundefined Don Mishi

    f675f088-7d8b-4bd9-91a9-081d5271d7e8-image.png

    Anexo un error que me da, copié el código de esta página que pusiste: https://cabconmodding.com/threads/zombies-counter-display.149/

    Corregí el error que daba sobre el "setSafeText" y lo cambié a "setText" y se solucionó.

    BO2 Modding Support & Discussion

  • [Support] Zombie Counter! Help
    Don Mishiundefined Don Mishi

    Disculpa, me dice que tu Discord es incorrecto. ¿Podrías agregarme?
    Discord: El Shesho#5381

    BO2 Modding Support & Discussion

  • [Support] On-Screen Information Movement. GSC Code
    Don Mishiundefined Don Mishi

    Hello, an apology for the inconvenience. Do you think you can upload your already compiled zombie counter?

    BO2 Modding Support & Discussion

  • [Support] Zombie Counter! Help
    Don Mishiundefined Don Mishi

    Kalitos Hola buen día, disculpa, soy nuevo con esto de modificar el juego y todo eso. ¿Podrías explicarme exactamente en qué lugar necesito copiar y pegar este código que has compartido? Para que me aparezca el contador de zombies. Gracias 🙂

    BO2 Modding Support & Discussion
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate