Look at what you modified and count your brackets.
|
im trying to make the altar of guthix change my mage book to lunar but when i do it i get 100 errors
what did i do wrong ? D: help
*EDIT*
nvm fixed it the code was
Code:} } if (objectID == 410) { if (playerAncientMagics == 0 || playerAncientMagics == 2){ } if (playerAncientMagics == 2 || playerAncientMagics == 1) { setSidebarInterface(6, 1151); // magic tab (ancient = 12855); // /normal = 1151 playerAncientMagics = 0; sM("You convert to normal magic!"); } else if (playerAncientMagics == 0) { setSidebarInterface(6, 18787); playerAncientMagics = 2; sM("You convert to lunar magic!"); } }
post snippet not a freaking screenie of your code.
bump
Code:if (objectID == 410) { if (q10 != 15 && playerAncientMagics == 0 || q10 != 15 && playerAncientMagics == 2){ sM("You must complete Lunar Spirit if you want to use Lunar."); } if (playerAncientMagics == 2 || playerAncientMagics == 1) { setSidebarInterface(6, 1151); // magic tab (ancient = 12855); // /normal = 1151 playerAncientMagics = 0; sM("You convert to normal magic!"); } else if (playerAncientMagics == 0 && q10 == 15) { setSidebarInterface(6, 18787); playerAncientMagics = 2; sM("You convert to lunar magicks!"); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |