Jump to content
MakeWebGames

Recommended Posts

Posted

I have many money making mods in my game (not released).

i dont want cash flood in ym game in the begginig itself..so my question is

How can i make a page able to be entered after reaching a certain level..

eg ..if a player is in level 1 he cant access ..it says you are not in 5th level..you neeed to be in 5th level to acces this page...something like this ..:)

:rolleyes:

Posted
allthe things in the table works?

If the condition is right... Example -

//not = to
if(1 != 2) {
   echo 'One does not equal two...';
}

Use the table to fix what's already been posted above. :)

Posted

Also i suggest reading a few PHP tuts. Im new to PHP, but this is a very basic thing you learn. You should really buy a book or something while playing around with MCCodes lol. Makes it much easier.

Posted
None of this codes are working? please help

*sigh*

How are you using it?

Get back to your holiday... :P

Not left yet so can't really get back to it. ;)

Well get your ass gone then and have a good time :thumbup:

Posted

i used

 

if ($ir['level'] < 5) {
echo 'Level 5+ please.'; 
exit; } 

 

But now even if the player is above lvl 5 it shows lvl 5 please

Posted

Post your entire code please.

The code should work. You are either:

a) using the code incorrectly

b) using or reading the `level` field in your database incorrectly

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.

×
×
  • Create New...