Here is the coding, ill state whats wrong with it.
Tournament()
set category = "Police"
set name= "Host Tournament"
for(var/mob/characters/M in world)
if(M.gm <> 1)
M << "[usr] is hosting a tournament!, Press Yes to enter!"
if(alert(M,"Do you want to join the Tournament?","Enter","Yes","No") == "Yes")
M.loc=locate(92,140,10)
usr.loc=locate(92,140,10)
Problem is, it wont go to the next mob in the world, unless the one before it clicks Yes to the Join Tournament alert, any help would be appriciated.
James
ID:148197
![]() May 31 2003, 7:58 pm
|
|
![]() May 31 2003, 10:15 pm
|
|
spawn() off everything after the for loop.
|
Also, I recommend that you change the
if(M.GM <> 1)
if(!M.GM)
|