You are not logged in.
Pages: 1
Would be very handy for a lua interface to access the nitmod award system, creating new awards as well as using the tracking features in it would be awesome.
Offline
+ :]
Offline
How about a callback triggered as soon as the server receives global stats for a player (usually not more than once in a map, when client has finished connecting) ?
This way you could work with the stats buffer sent by the master.
Something like:
function et_ReceivedGlobalStats(clientnum, buffer)
et.G_Print( "Received Global Stats for player #" .. clientnum .. " : " .. buffer .. "\n")
end
Output:
Received Global Stats for player #0 : 22187 20282 94 31095 2414 41 37 32 145 197 491 2787 16 152 66
And i could modify the award system to let modders create their own awards based on this and the player's current stats, and send their own awards text with a special servercmd.
Offline
Pages: 1