atom/movable
var
start=0
mob
Login()
var/p = input("What is the tesing Password? Im sorry you cant join till i fix some bugs.","Password") as text
if(p != "1")
spawn(20)
alert("That is not the password..")
del src
else
for(var/obj/banned/a in Banned)
if(a.keyname==key||a.num==client.address)
usr<<"You are baned from this server!!"
del usr
return
if(start>=1)
usr.client.eye = locate(24,27,1)
usr<<"sorry but game has already started so youll have to watch till next game."
else
usr.loc=locate(44,5,3)
usr.AllowMove = 0
players ++
usr<<"Welcome To <font color=blue>-- </font><font color=red><b>Mario Kart</font><font color=blue> --</b>"
client.CheckHost()
src << 'selectplayer.wav'
world.status="(Player Online: [players]) (Host: [host])"
usr<<"You will not be able to play unless who ever logs in first clicks start when there is at least 2 players in."
..()
obj
Start
icon='Mario_Kart.dmi'
icon_state="start"
screen_loc="16,1"
layer= MOB_LAYER+2
Click()
if(playersplaying>=0)
usr.client.screen=-new/obj/Start
usr.client.screen+=new/obj/Updates
usr.client.screen+=new/obj/hud
usr.client.screen+=new/obj/hud1
usr.client.screen+=new/obj/hud2
usr.client.screen+=new/obj/hud3
usr.client.screen+=new/obj/hud4
usr.client.screen+=new/obj/hud5
world<<"<center>Game is about to start"
sleep(20)
world<<"<center>Counting down"
sleep(10)
world<<"<center><font color=red>......................5.......................</font></center>"
sleep(10)
world<<"<center><font color=red>..................4....................</font></center>"
sleep(10)
world<<"<center><font color=yellow>................3..................</font></center>"
sleep(10)
world<<"<center><font color=yellow>..............2...............</font></center>"
sleep(10)
world<<"<center><font color=green>..........1............</font></center>"
sleep(10)
world<<"<center><font color=green>.......GO.......</font></center>"
usr.AllowMove = 1
start=1
else
usr<<"You cant start you dont have enough players."
usr.AllowMove=0
Problem description:
When the player logs in and the game has already started it doesnt move the usrs client.eye to where it supose to can somen help.
Change
if(start>=1)
if(start)</dm)