AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   force_use for lock doors through fakemeta? (https://forums.alliedmods.net/showthread.php?t=49591)

Lord_Destros 01-07-2007 20:36

force_use for lock doors through fakemeta?
 
How do you use locked doors through fake meta?

I've already tried doing

Code:

dllfunc(DLLFunc_Use,id,targetid)
dllfunc(DLLFunc_Touch,targetid,id)

id = the person using the door
targetid = the door

VEN 01-08-2007 06:23

Re: force_use for lock doors through fakemeta?
 
AFAIK, you can't do something with the locked doors, that's its purpose.

For not locked but closed doors you have to do:
Code:
dllfunc(DLLFunc_Use, door, player)

Lord_Destros 01-08-2007 08:40

Re: force_use for lock doors through fakemeta?
 
Thanks........had them in the wrong order :lol:.........

anssik 01-08-2007 09:40

Re: force_use for lock doors through fakemeta?
 
Well I heard somewhere if using the door with the door it will lock/unlock.
Try
Code:

dllfunc(DLLFunc_Use, door, door)
And then
Code:

dllfunc(DLLFunc_Use, door, player)

VEN 01-08-2007 13:49

Re: force_use for lock doors through fakemeta?
 
Actually i doesn't matter which entity is used the door. And yes it can be the door itself.

Lord_Destros 01-08-2007 22:08

Re: force_use for lock doors through fakemeta?
 
Yeah, thx VEN, it works fine now.

Thx for trying anssik.


All times are GMT -4. The time now is 22:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.