(12-15-2010, 11:42 PM)Frontcannon Wrote: There's no error in 75, 1. But look at the message: 'Unexpected end of file'. The game thinks there has to be something there, but why?
What is it waiting for? Let's look at the brackets. If you've missed one, get Notepad++.
.
.
.
Yup. Found it. Check KeyOnDoor.
Which part you mean?
This? AddUseItemCallback("", "Door key I", "door_1", "KeyOnDoor1", true);
or
void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_1", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "door_1", 0.0f, true);
RemoveItem("Door_key I");
I dont see any errors.
(12-15-2010, 11:52 PM)HumiliatioN Wrote: (12-15-2010, 11:42 PM)Frontcannon Wrote: There's no error in 75, 1. But look at the message: 'Unexpected end of file'. The game thinks there has to be something there, but why?
What is it waiting for? Let's look at the brackets. If you've missed one, get Notepad++.
.
.
.
Yup. Found it. Check KeyOnDoor.
Which part you mean?
This? AddUseItemCallback("", "Door key I", "door_1", "KeyOnDoor1", true);
or
void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_1", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "door_1", 0.0f, true);
RemoveItem("Door_key I");
I dont see any errors.
Oh, that } Sorry... i dont bother you anymore i hope if it is really important