Quote:
Originally Posted by .Arco
Somenpc's don't work.
For example the first npc's posted don't work at all ftw?
Then the second one whatsup with this
if (Control != 1)
?
If control does not equal 1?
Npc's are broken completely.
|
I have allready started to fix some of the NPC's but I have 1 error that I could use some help with. No idea what to do to fix the red. I know its saying to tele to a random map, would i need to add the definition for "Rand"? Or is there a similar function allready in the db that would do the same thing?
Code:
else if (Control == 1)
{
int Map = World.[COLOR="Red"]Rand[/COLOR].Next(1, 7);
Map += 1042;
GC.MyChar.Teleport(1042, 210, 163);
}
break;
}
#endregion