07-27-2011, 15:39
any sort of dvar or something i can prevent certain players spawning in sd for a round or so?
Help stopping certain people spawning in rounds
|
07-27-2011, 15:39
any sort of dvar or something i can prevent certain players spawning in sd for a round or so?
07-27-2011, 17:33
(This post was last modified: 07-27-2011, 17:34 by Madnesslink5.)
Not sure about how you could stop them spawning, but the very frame that they spawn, you could send them to spectator/different team/kill them.
Code: init() You'd have to edit it a little bit to make it work with certain players, just set the dvar to the players entity number, and when it checks the dvar check it against their entity number.
07-27-2011, 19:27
ya i thought about doing it this way, was just hoping there was some dvar to stop people spawning in sd..
guess it will do for now, thanks anyways. (07-27-2011, 15:39)koil Wrote: any sort of dvar or something i can prevent certain players spawning in sd for a round or so? this spawn a player: Code: self thread [[level.spawnPlayer]](); find this code on _globallogic_spawn.gsc and modify like this: Code: if(self.canspawn == 1)
07-28-2011, 00:52
(07-28-2011, 00:47)Puffiamo Wrote:(07-27-2011, 15:39)koil Wrote: any sort of dvar or something i can prevent certain players spawning in sd for a round or so? Change self.canspawn to self.pers["canspawn"] , because otherwise it will be lost after 1 round.
if(self.pers["mod_ts"] != 1) {
self thread [[level.spawnPlayer]](); } else { self thread respawn_asSpectator( self.origin + (0, 0, 60), self.angles ); spawnedAsSpectator = true; } worked well, thanks man.. I already had my own variable set from another thread, this worked great. |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Help Spawning carepackage helicopter -- | DidUknowiPwn | 4 | 4,059 |
11-08-2013, 08:18 Last Post: DidUknowiPwn |
|
Spawning Solid Models | akillj | 5 | 4,406 |
09-08-2013, 00:07 Last Post: akillj |
|
Chicken spawning possible? | akillj | 8 | 4,942 |
09-07-2013, 06:22 Last Post: ScHmIdTy56789 |
|
Help Server not in list, but people join | 99IRock | 8 | 7,093 |
07-17-2013, 21:26 Last Post: clacki |
|
I need to sorry all of you people | Bloodfocus | 23 | 11,875 |
04-05-2013, 18:15 Last Post: SuperNovaAO |
|
I want to thank some people [2] Mods edition | Arteq | 7 | 6,112 |
04-05-2013, 18:10 Last Post: SuperNovaAO |
|
Help Kick people with space in name | koro35 | 13 | 8,349 |
01-06-2013, 14:14 Last Post: master131 |
|
Thanking some people | 99IRock | 6 | 3,711 |
12-27-2012, 14:40 Last Post: kokole |
|
I want to thank some people | 99IRock | 5 | 3,575 |
12-26-2012, 18:33 Last Post: surtek |
|
[Request] ForgeMOD - Spawning Crates (MW3) | Destroyer1834 | 8 | 5,975 |
11-23-2012, 14:56 Last Post: 99IRock |
Users browsing this thread: |
1 Guest(s) |