Recent posts

#61
Here's a countdown timer function in VC:MP Squirrel that sends a message every second to all players until it reaches zero, then sends a final alert to each player. It uses NewTimer to call itself every second, and loops through all connected players with GetMaxPlayers and FindPlayer. To start it, just call EbolaCountdown(10);. Here's the code:


function EbolaCountdown(count) {
    if(count > 0) {
        Message("[#FF0000]EBOLA OUTBREAK INCOMING: " + count + " SECONDS");
        NewTimer("EbolaCountdown", 1000, 1, count - 1);
    } else {
        local players = [];
        for(local i = 0; i < GetMaxPlayers(); i++) {
            local player = FindPlayer(i);
            if(player) players.push(player);
        }
        foreach(local player in players) {
            SendPlayerMessage(player, "[#FF0000]Ebola outbreak has started!");
        }
    }
}



also snippet of how ebola might work
        if(players.len() > 0) {
            // Randomly select a victim
            local victim = players[rand() % players.len()];
            victim.Health = 0.0;
           
            // Find the buyer to send them a message
            local buyer = FindPlayer(ebolaBuyer);
            if(buyer) {
                MessagePlayer("[#00FF00]Your Ebola outbreak has killed " + victim.Name + "!", buyer);
            }
           
            Message("[#FF0000]EBOLA OUTBREAK: " + victim.Name + " has been infected and died!");
        }
        ebolaBuyer = null; // Reset the buyer
    }
#62
Script Showroom / Re: [ #D~ Tools ] Map Editor
Last post by Adrenaline - Aug 02, 2025, 02:53 PM
Quote from: DizzasTeR on Apr 21, 2021, 05:00 AMThere used to be a problem about saving maps (according to the users, I've never encountered it) which I attempted a fix in v1.3.3 mentioned in the CRITICAL section of the changelog. Before that the autosave was disabled but then I forgot to re-enable it, so it should be fine to use, it will be re-enabled in later versions.
can you upload new link? thx
#63
Script Showroom / Re: [FilterScript] Country Det...
Last post by KazamaOp - Aug 02, 2025, 01:22 PM
Thanks bro its fixed no unknown country no bugs ,
#64
Support / Re: A host is unable to bring ...
Last post by Adrenaline - Aug 02, 2025, 05:47 AM
Thanks for your responses. I've requested a refund. Can you recommend a host to host my server?


@habi2 @MEGAMIND @Eva @2b2ttianxiu
#65
Support / Re: A host is unable to bring ...
Last post by habi2 - Jul 30, 2025, 09:06 AM
@Adrenaline How did you transferred script files to server?

I don't know how citadel servers work. But usually you put script files via ssh(sftp). Then start server by commandline.

Have you done any of these things?

Besides,  by default server will not appear in masterlist. You need to edit server.cfg or create one for server to appear in masterlist.
 
Also how you start server?

Please provide more screenshot of interface you have.
#66
Support / Re: A host is unable to bring ...
Last post by Eva - Jul 30, 2025, 07:56 AM
ehm in the picture i dont see any server
it seems like an install for client lol
#67
Support / Re: plugin error
Last post by Eva - Jul 30, 2025, 07:10 AM
thanks, solved after install vc_redist.x64
btw its on win10
#68
Support / Re: A host is unable to bring ...
Last post by MEGAMIND - Jul 30, 2025, 06:29 AM
whats the server ip and port?, also try changing masterlist urls from thijn to official or official to thijn

if still not then use the connection checker https://thijn.minelord.com/vcmp/checker/
#69
Support / Re: plugin error
Last post by 2b2ttianxiu - Jul 30, 2025, 05:06 AM
Microsoft Runtime Package Miss
Install them
#70
Support / Re: A host is unable to bring ...
Last post by 2b2ttianxiu - Jul 30, 2025, 05:05 AM
idk u talk about something