Opening Prison gate with prison bus
-
Can someone make a scipt for me that opens the prison gate when in the prison bus?
-
@thattallboy if you talk about the second ( on the border of the build ) it's a static object. but I guess it's possible to remove it and set a door with map editor idk
-
@Frazzlee @thattallboy well it depend wich one he want, no screen so i'm not sure but if he's talking about the door that permit the access to the prisoner part, it's a static if i well remember, how ever it(s probably possible to delete it)
-
@Frazzlee All you need to do is check if the player is in a prison bus. Check if the gate is in front of the player because the gate is a prop with a hash. Set the alpha to 0 set collision to false. Let the player drive through. Then set alpha to 100 and collision to true
-
@Frazzlee On tick it would work fine because you are constantly checking for thee player in a certain vehicle hash