Jump to content
MakeWebGames

Recommended Posts

Posted

hi

i have mccodes 2.0

how would i make a certain player access a certain page e.g like if a player level 100 can by a car but if u are level 99 or under u cant.. or if u are in a different city e.g whos in the cave zone cant by a pet but whos in th medevil zone can...

thanks in advanced

c0nka :mrgreen:

Posted

Re: Help please

Put that after your header, and before the rest of the code on the page.

 

if ($ir['level'] < 100) {
die('You must be level 100 or higher to gain access to this page.');
}

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...