Posts: 1,246
Threads: 140
Joined: Jul 2014
Reputation:
0
Hellu, I'm facing a problem. I have a race gamemode, and i have made a Saving system which will save how much races we have finished. And i want to show that thing in my /stats command but /stats command is in the filterscript. How can i add " Races Won: %d " in my stats which is in Filterscript.
Posts: 1,246
Threads: 140
Joined: Jul 2014
Reputation:
0
I should add this in my Filterscript(/stats)?
Posts: 1,246
Threads: 140
Joined: Jul 2014
Reputation:
0
You understood Wrong.
Anyone else?
Posts: 1,246
Threads: 140
Joined: Jul 2014
Reputation:
0
Sorry for the BUMP
just tell me
I should add PVars in my Filterscript(/stats)?
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
Yes.
If you are using functions from your filterscripts then use SetPVarInt(inside the FS) and use GetPVarInt in your game mode.
The examples given on the wiki page are pretty solid.
Posts: 1,246
Threads: 140
Joined: Jul 2014
Reputation:
0
OK, Thanks. i will try it.