Jump to content
MakeWebGames

[mccode v2] Jail All in one


flipster
 Share

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 1 year later...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Why are you using return and why isnt it returning anything :/

And why not do this;

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Why use die("")?

The $cost/$stat variables was already in the original code, why not try looking at it first...

Link to comment
Share on other sites

Oh, and echos faster than print ;)

did you just learn that or something like the 3rd time you have said it today its only faster because it smaller they do the same thing the user will not notice a 0.0000000001 of a sec so it does not matter that much :|

Link to comment
Share on other sites

I replaced the use of die("") with return...

If it were being used on my game it would have been error_output("text to display");

echo versus print.. blah...

personal preference on that really. The deference in speed is so little that to me it makes no difference

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...