Quote:
Originally Posted by grillmad
always make sure you got same { as }.
ex.
you got
case 292:
{//1
if (hehe = haha)
{//2
}//2
break;
}//1
for having 1 { and 1 } it should be:
case 292:
{//1
break;
}//1
For having 3, it should be:
case 292:
{//1
if (hehe = haha)
{//2
if (haha == hehe)
{//3
}//3
}//2
break;
}//1
|
Thanks grill, ive made progress with this, ive got the start npc working and ive got a second npc sort of working, just a little confused on how to add a item into the players inventory, i also (think i did it right) edited a item in the items.txt and added it in the additem file as 8899 (is this right? changed some things around)