Home » Renegade Discussions » Mod Forum » scripts.dll 2.1
scripts.dll 2.1 [message #133226] |
Thu, 20 January 2005 16:32 |
Blazea58
Messages: 408 Registered: May 2003
Karma:
|
Commander |
|
|
Your on a roll here with these scripts, i can't belive how much can be done in renegade now thanks to you.
JFW_Clear_Money_Startup which will set the money of whatever its atatched to to 0 on startup
So im guessing if that script does work, it would take away the credits of whatever you attach the script to. (ie players?)
Quote: | Create a map structure with two entries, a string and a boolean value. Fill the map with all of the player's names, and mark each boolean value for each entry false. Reset this map structure on every map load. On a player's creation using any script attached to them, look up the player in this map structure and check its respected boolean value. If it's false, mark it as true and give it the opposite amount of starting credits. If you have to, you could easily look this up from the INI file. Or, if you think about it, their credits will be the starting amount when they are first created, so you could just get their money and reverse it. If you want to change it instead of just resetting it to 0, just give the player however many credits you want after you give the player the opposite amount. You could easily make it give a certain amount depending on which map was loaded here.
|
I'm sorry but i dont know much about that , so i dont think i could pull it off, but im guessing from the way it sounds it would do the exact effect i was looking for, just to reverse the starting amount.
It would just suck to make a map that is all based on starting with 0 credits, if the host can just change it to 99999. With my map, standing behind cash regsiters, getting kills, and gambling is the only sources of money gaining i wanted to have.
|
|
|
|
|
scripts.dll 2.1
By: jonwil on Fri, 14 January 2005 03:52
|
|
|
scripts.dll 2.1
|
|
|
scripts.dll 2.1
By: jonwil on Fri, 14 January 2005 05:12
|
|
|
scripts.dll 2.1
By: Alkaline on Fri, 14 January 2005 14:49
|
|
|
scripts.dll 2.1
By: jonwil on Sat, 15 January 2005 05:11
|
|
|
scripts.dll 2.1
By: Alkaline on Sat, 15 January 2005 13:35
|
|
|
scripts.dll 2.1
By: Naamloos on Sat, 15 January 2005 13:51
|
|
|
scripts.dll 2.1
By: jonwil on Mon, 17 January 2005 04:19
|
|
|
scripts.dll 2.1
By: jonwil on Mon, 17 January 2005 04:54
|
|
|
scripts.dll 2.1
By: jonwil on Mon, 17 January 2005 18:11
|
|
|
scripts.dll 2.1
By: jonwil on Mon, 17 January 2005 18:57
|
|
|
scripts.dll 2.1
By: jonwil on Mon, 17 January 2005 19:39
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 00:02
|
|
|
scripts.dll 2.1
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 00:25
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 00:27
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 01:59
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 16:28
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 17:51
|
|
|
scripts.dll 2.1
By: jonwil on Tue, 18 January 2005 19:55
|
|
|
scripts.dll 2.1
By: Blazea58 on Wed, 19 January 2005 18:20
|
|
|
scripts.dll 2.1
By: jonwil on Wed, 19 January 2005 19:08
|
|
|
scripts.dll 2.1
|
|
|
scripts.dll 2.1
By: jonwil on Wed, 19 January 2005 22:50
|
|
|
scripts.dll 2.1
By: jonwil on Thu, 20 January 2005 03:57
|
|
|
scripts.dll 2.1
By: Blazea58 on Thu, 20 January 2005 16:32
|
|
|
scripts.dll 2.1
By: jonwil on Thu, 20 January 2005 17:38
|
|
|
scripts.dll 2.1
By: jonwil on Thu, 20 January 2005 22:08
|
|
|
scripts.dll 2.1
By: jonwil on Thu, 20 January 2005 23:59
|
|
|
scripts.dll 2.1
By: jonwil on Fri, 21 January 2005 00:25
|
|
|
scripts.dll 2.1
By: jonwil on Fri, 21 January 2005 04:21
|
|
|
scripts.dll 2.1
|
|
|
scripts.dll 2.1
By: Sir Kane on Fri, 21 January 2005 05:15
|
|
|
scripts.dll 2.1
|
|
|
scripts.dll 2.1
By: jonwil on Fri, 21 January 2005 17:22
|
|
|
scripts.dll 2.1
By: Naamloos on Fri, 21 January 2005 18:09
|
|
|
scripts.dll 2.1
|
|
|
scripts.dll 2.1
|
|
|
scripts
|
Goto Forum:
Current Time: Thu Nov 14 09:10:33 MST 2024
Total time taken to generate the page: 0.01063 seconds
|