ID:148940
 

Ok just about 10 mins ago i recieved a game from a friend, that he no longer wanted to mess with, so i decided ill give it a shot, and work on it.. and such..well anywayz...it has some old code it it sinse byond has updated stuff...and well i was wondering if anyone out their could solve this prob for me

Anywayz I get about 2 errors and this is what its about


darklegends.dm:19:error:usr.frozen:undefined vardarklegends.dm:25:error:usr.script:undefined var

Now this is what i have down on the code

if(usr.frozen == 0) (This is what highlights up aka the error!)


script()
usr.script = ""
Please limit posts in General to feature suggestions and other discussions specific to the game engine or hub. This thread belongs in Code Problems because it's a debugging question, and your previous Coding thread belonged in Classified Ads.
In response to Lummox JR
My Bad, i must not of been paying attention...
::Jumps from a 100 story building::
UnknownOrb wrote:
Ok just about 10 mins ago i recieved a game from a friend, that he no longer wanted to mess with, so i decided ill give it a shot, and work on it.. and such..well anywayz...it has some old code it it sinse byond has updated stuff...and well i was wondering if anyone out their could solve this prob for me

Anywayz I get about 2 errors and this is what its about


darklegends.dm:19:error:usr.frozen:undefined vardarklegends.dm:25:error:usr.script:undefined var

Now this is what i have down on the code

if(usr.frozen == 0) (This is what highlights up aka the error!)


script()
usr.script = "<STYLE>BODY {background: black; color: white}</STYLE>"

im still a newb, so i might be wrong..
but seems like u havent got a "frozen" variable
mob
var
frozen = 0
In response to R4GIN
yea thanx that was the prob, but unfortunately you was a wee bit late lol...thanks tho