1. your game profile file will only load/save stock dvars. You cannot use it to store custom dvars. The only way to do that is to use the mpdata file and store your dvar settings there by using the...
1. your game profile file will only load/save stock dvars. You cannot use it to store custom dvars. The only way to do that is to use the mpdata file and store your dvar settings there by using the...
Those values don't match: you are getting a stat for dvarInt( mc_tokens) + 3175; but you are trying to set the stat number 3175 when a dvar (mc_tokens) has a string value. In other words - mc_tokens...
The free stat numbers for WaW are the same as for COD4. These are all of them:
3150
3151
3152
3153
3154
3155
3156
1. The getGUID() function only works on a dedicated server, so you can't test it on a local/listen server. It is a script function, run from a .GSC file, and the syntax is:
player getGUID();
...
Yes, that looks correct. The use of "string_here" is simply so you can remember it. Personally, most of the time I never use it. I simply remember the stat number I want to use and use the number...
1. All the file functions work in COD4, only you have to run your server in developer mode, and as such you can't run a dedicated server in that mode. However, I would suggest you tell us what it is...
With libcod you can call the OS version of openfile (fopen, fwrite). Or depending on what you wanna use it for. You could use mysql to store your player's stats.
To execute a command under your...