I've been trying to utilize jk2mv's snapshotIgnore in my [1.02] server-side mod, but can't get it working.
I've put #include for mvapi.h into g_local.h, mvsharedEntity_t *mvEnts into g_main.c, trap_MVAPI_LocateGameData under G_Init and in g_utils.c, the new syscall for my .qvm in g_syscalls.asm
then I call for the function in g_cmds.c with:
Code: Select all
void Cmd_SnapshotIgnore_f
{
mvsharedEntity_t *target = mvEnts[1]; // in this case, client 1 is the target
target->snapshotIgnore[2]; // trying to make client 2 not broadcast
}
Now for some reason I can't get it to work. I asked about this before from Daggolin on skype, but I already forgot the issue. Tips, anyone?
[/color]