12.03.2012, 19:01
Alright fellas, I got the API working, the feed file was created in /scripfiles, so obviously this thing is ready to work.
The website also shows the map & the API functions (zoom, zoom out) work.
Now I wonder why it didn't update when a player joined, nothing changed.
I did however load this up as a Filterscript rather than using it in the gamemode, so I started the djson gamemode in OnFilterScriptInit & djson gamemodexit in OnFilterScriptExit.
I wonder if it didn't work because of that? I also used the djsInt OnPlayerConnect as provided in the stats.pwn test gamemode.
The website also shows the map & the API functions (zoom, zoom out) work.
Now I wonder why it didn't update when a player joined, nothing changed.
I did however load this up as a Filterscript rather than using it in the gamemode, so I started the djson gamemode in OnFilterScriptInit & djson gamemodexit in OnFilterScriptExit.
I wonder if it didn't work because of that? I also used the djsInt OnPlayerConnect as provided in the stats.pwn test gamemode.