AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   leave server (https://forums.alliedmods.net/showthread.php?t=186427)

usaexelent 05-30-2012 05:33

leave server
 
I'm making a zombie mod and I want to know how do I make that when the last zombie lefts the server the round would end and it wouldn't game commenc.

jc980 05-30-2012 05:46

Re: leave server
 
check how ZP does it.

Backstabnoob 05-30-2012 07:16

Re: leave server
 
The best possible solution for this would be transferring one player to the terrorist team immediatly after the last zombie disconnects to prevent game commencing (Ham_CS_RoundRespawn) and kill him or end the round with Orpheu.

usaexelent 05-30-2012 07:17

Re: leave server
 
I used code from zp, but I rilly don't like this feeling when I know that I use code from another mod.

jc980 05-30-2012 09:03

Re: leave server
 
Quote:

Originally Posted by usaexelent (Post 1719297)
I used code from zp, but I rilly don't like this feeling when I know that I use code from another mod.

You don't have a choice do you?

usaexelent 05-30-2012 09:57

Re: leave server
 
Thats the problem :D, If I were drunk then like now then I could wrote the code by my self.

Backstabnoob 05-30-2012 11:24

Re: leave server
 
I told you how to do this.

Kreation 05-30-2012 22:23

Re: leave server
 
Quote:

Originally Posted by jc980 (Post 1719345)
You don't have a choice do you?

If you knew how to actually give advise to someone, maybe he would have a choice.

fysiks 05-30-2012 22:39

Re: leave server
 
Quote:

Originally Posted by usaexelent (Post 1719297)
I used code from zp, but I rilly don't like this feeling when I know that I use code from another mod.

There is nothing wrong with using somebody else's code, after all, this is an open source community. All that you need to remember is to not claim that you wrote that section of code and even better yet, state in your source code where you did get it and who wrote it (as a comment).

usaexelent 05-31-2012 04:00

Re: leave server
 
Good advice, I'll do it.


All times are GMT -4. The time now is 22:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.