Home » Renegade Discussions » Mod Forum » scripts.dll 2.1
scripts.dll 2.1 [message #133135] |
Wed, 19 January 2005 20:50 |
vloktboky
Messages: 290 Registered: February 2003 Location: Kentucky, USA
Karma:
|
Recruit |
|
|
Blazea58 | Another thing i was pondering on is if there is a way to possibly change the set amount of credits. Like for my map i would really like it if you start with 0 dollers no matter what, even if the host picks 99999, maybe there is a script that takes all of it away?
Basically just a script that either takes away money, or forces you to start with 0
|
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.
|
|
|
|
|
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:23 MST 2024
Total time taken to generate the page: 0.01089 seconds
|