Jump to content
MakeWebGames

Recommended Posts

Posted

heres a nice little fiz that will get your inventory from looking like this..

fromthis.png

To This a few seconds...

tothis.png

open up inventory.php and find

 

You're unable to view this code.

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

 

and overwrite with this one...

 

You're unable to view this code.

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

 

This part in the new update can be altered to

 

You're unable to view this code.

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

 

By doing so will change the colour of the lists each time a user views the page or refreshes.

Posted

on this you can use the $rand1 and $rand2 to echo values of Hex codes to see which best fits the colours for your game.

example:

if($line%2 == 0)

print "<tr bgcolor=#$rand1> hex value for rand1 is #$rand1";

else

print "<tr bgcolor=#$rand2> hex value for rand2 is #$rand2";

Then just copy the hex codes its gives and change both $rand1 and 2 to the hex of your choice.

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