olrik666
Junior Member
Posts: 7
Threads: 2
Joined: Oct 2014
Reputation:
0
|
RE: How to unlock door with a Wheel ?
I don't understand :/
My script :
void OnStart()
{
PreloadSound("17_steam.snt");
PreloadSound("unlock_door.snt");
SetLocalVarInt("Valve_iron1", 0);
}
void OnLeave()
{
SetupLoadScreen("Loading", "LoadScreen1", 0, "LoadScreenImage1.png");
}
/////////Interact
void unlockdoor(string &in asEntity, int alState)
{
if(alState == 1)
{
SetLevelDoorLocked("door_complex1", false);
PlaySoundAtEntity("", "unlock_door.snt", "door_complex1", 0, false);
PlaySoundAtEntity("", "17_steam.snt", "barrier", 0, false);
}
}
(This post was last modified: 10-24-2014, 08:49 PM by olrik666.)
|
|
10-24-2014, 08:39 PM |
|