Raised This Month: $ Target: $400
 0% 

Take a part out of another code (team joining)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fawkes37
Senior Member
Join Date: Jul 2008
Old 08-14-2008 , 04:54   Take a part out of another code (team joining)
Reply With Quote #1

hello

since im a newbie at this, i would ask ur help. i found a plugin "Predator mod" which i think is the newest. there is a part in the code i would be interested in, but im too noob for it.
so could anyone please take this part out of that code for me:
the team changing part. where it makes one player into predator and forces others to CT. also, if T fails to kill all, leaves or something else, a random one will be chosen. if he dies, the one who killed him will be the new T. so would u take that out and make it into a new plugin, which only does that function?
if anyone would do this, i would be truely greatful.
heres the plugin:
http://forums.alliedmods.net/showthr...light=predator

thx in advance
Fawkes37 is offline
Fawkes37
Senior Member
Join Date: Jul 2008
Old 08-14-2008 , 06:22   Re: Take a part out of another code (team joining)
Reply With Quote #2

im actually not going to edit my first post, just going to write this as new:

if someone whos willing to do it and finds it easier to write it him/herself, it would be cool, but let me explain those functions again, maybe i was unclear:

in the first place, when map starts, a random person is picked and forced to T, others to CT.
if T is killed, the killer CT is the next T on the next round.
if T disconnect, automatically a random CT is forced to T
if T commits suicide, a random CT is picked to be T next round
if T doesnt kill all CTs and the roundtime ends, a random CT will be picked to be T next round. (but they just switch teams, T who failed wont be killed.)

thanks in advance
Fawkes37 is offline
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 03:12.


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