Raised This Month: $ Target: $400
 0% 

leave server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 05-30-2012 , 05:33   leave server
Reply With Quote #1

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.
__________________
and once again
usaexelent is offline
Send a message via Skype™ to usaexelent
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 05-30-2012 , 05:46   Re: leave server
Reply With Quote #2

check how ZP does it.
__________________
jc980 is offline
Old 05-30-2012, 07:08
EpicMonkey
This message has been deleted by EpicMonkey. Reason: didnt read first post right
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-30-2012 , 07:16   Re: leave server
Reply With Quote #3

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.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 05-30-2012 , 07:17   Re: leave server
Reply With Quote #4

I used code from zp, but I rilly don't like this feeling when I know that I use code from another mod.
__________________
and once again

Last edited by usaexelent; 05-30-2012 at 07:27.
usaexelent is offline
Send a message via Skype™ to usaexelent
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 05-30-2012 , 09:03   Re: leave server
Reply With Quote #5

Quote:
Originally Posted by usaexelent View Post
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?
__________________
jc980 is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 05-30-2012 , 09:57   Re: leave server
Reply With Quote #6

Thats the problem , If I were drunk then like now then I could wrote the code by my self.
__________________
and once again

Last edited by usaexelent; 05-30-2012 at 10:13.
usaexelent is offline
Send a message via Skype™ to usaexelent
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-30-2012 , 11:24   Re: leave server
Reply With Quote #7

I told you how to do this.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 05-30-2012 , 22:23   Re: leave server
Reply With Quote #8

Quote:
Originally Posted by jc980 View Post
You don't have a choice do you?
If you knew how to actually give advise to someone, maybe he would have a choice.
__________________
Hi.
Kreation is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-30-2012 , 22:39   Re: leave server
Reply With Quote #9

Quote:
Originally Posted by usaexelent View Post
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).
__________________
fysiks is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 05-31-2012 , 04:00   Re: leave server
Reply With Quote #10

Good advice, I'll do it.
__________________
and once again
usaexelent is offline
Send a message via Skype™ to usaexelent
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:19.


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