no need for
too many timesCode:// Made by i cliff i
|
|

Cliffton, this is a bad way of doing it:
For a start, calling it in process is not needed, alsoCode:if ((playerEquipment[playerWeapon] == 7927) && npcId2 != 3690) { // Made by i cliff i npcId2 = 3689 + (misc.random(5)); // Made by i cliff i isNpc = true; // Made by i cliff i sendMessage("You equip the ring..."); // Made by i cliff i sendMessage("...and turn into an egg!"); // Made by i cliff i
Your using a misc.random int so its going to keep reapeating until it gets your egg to 3690...Code:npcId2 != 3690
Best way to do it if you insist on using process is to make an int, and check that the int is right.

no need for
too many timesCode:// Made by i cliff i
nice guide cliff, i used![]()
| « Working Vengence! | pk zone(kinda cool) » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |