View Single Post
Old 03.07.2006, 07:23   #2
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

interested, but... where it can use? GM use bookmarks or not have access to summon this npc. Add this to standart class?
class teleporter : globalteleporter
?

next. Your code very bigger. You must find way for optimise this. Example, first sample

Code:
		if (ask == 1 && reply == 5) { //Talking Island
			if (i1 > 0) {
				InstantTeleport(talker, -84318, 244579, -3730);
			}
			else if (i1 == 0) {
				DeleteItem1(talker, @adena, 2000);
				InstantTeleport(talker, -84318, 244579, -3730);
			}
		}
to

Code:
        if (ask == 1 && reply == 5) 
                  { //Talking Island
			if (i1 == 0) 
                           {
				DeleteItem1(talker, @adena, 2000);
                           }

			InstantTeleport(talker, -84318, 244579, -3730);
		}
HF is offline