Quote from: Xmair on Mar 15, 2021, 06:45 PMDisable wall glitch?
Doesnt work.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Xmair on Mar 15, 2021, 06:45 PMDisable wall glitch?
Quote from: Athanatos on Jan 16, 2021, 01:33 PMSorry for the damn bump, but does this work with the lastest releases? I want to use it for my Zombie Survival server.
Update 1: Apparently not. That's a shame. create_actor(...) doesn't do anything, and I double checked the set_port("") call
Quote from: UncleRus on Dec 25, 2020, 08:03 PMUpdate this script please
Quote from: habi on Dec 07, 2020, 01:49 PMNow it is clear.
pluginFuncs = globalFuncs;
Put it reverse like
globalFuncs =pluginFuncs
#include "VCMP.h" // plugin api
#include "Main.h" // main.h same as the tutorial
PluginFuncs* globalFuncs;
uint8_t serverInitialise() {
printf("Plugin initialised.\n");
return 1;
}
void playerJoin(int32_t playerid) {
printf("Player joined with id %d", playerid);
}
unsigned int VcmpPluginInit(PluginFuncs* pluginFuncs, PluginCallbacks* pluginCalls, PluginInfo* pluginInfo)
{
pluginInfo->apiMinorVersion = PLUGIN_API_MINOR;
pluginInfo->apiMajorVersion = PLUGIN_API_MAJOR;
pluginCalls->OnServerInitialise = serverInitialise;
pluginCalls->OnPlayerConnect = playerJoin;
pluginFuncs = globalFuncs;
return 1;
}
Quote from: Athanatos on Sep 24, 2020, 05:38 PMNgl, this is bullshit. Why bother spamming an almost dead multiplayer mod?