AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Take a part out of another code (team joining) (https://forums.alliedmods.net/showthread.php?t=75881)

Fawkes37 08-14-2008 04:54

Take a part out of another code (team joining)
 
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 08-14-2008 06:22

Re: Take a part out of another code (team joining)
 
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


All times are GMT -4. The time now is 03:12.

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