ID:150133
 
How would i go about making a radio team?? (two teams are Counter Teroist and Terrorist)]


You would have to loop through all the mobs in the world, here's an example:

mob/verb/Team_Talk(T as text)
for(var/mob/M in world)//loops through all mobs in world
if(M.Team == usr.Team)
M<<"[usr] (Team): [T]"
else
..()
In response to Nadrew
Actually it's better to have two lists, one for each team. Then just output the text to either list.


/Andreas