mob
proc
ScoreCheck()
if(usr.Team == Collective) // Error Here
TitanPoints += 1
else if(usr.Team == Titan) // Error Here
CollectivePoints += 1
The errors:
loading Inf.dme
Score.dm:4:error:Collective:undefined var
Score.dm:6:error:Titan:undefined var
f:\BYOND\users\MASTER\lib\spuzzum\s_admin\s_admin2.dm:998:if :warning: if statement has no effect
f:\BYOND\users\MASTER\lib\spuzzum\s_admin\s_admin2.dm:999:if :warning: if statement has no effect
Inf.dmb - 2 errors, 2 warnings (double-click on an error to jump to it)
TitanPoints += 1
else if(usr.Team == Titan) // Error Here
CollectivePoints += 1
you need "'s aroung the usr.team ==
So this should fix the errors, im not sure about the warnings though...
mob
proc
ScoreCheck()
if(usr.Team == "Collective") // Error Here
TitanPoints += 1
else if(usr.Team == "Titan") // Error Here
CollectivePoints += 1