Locking People In A Vehicle
#1

Hi guys, this is a simple question. If I use an ordinary door lock system for cars, will it lock the player in the vehicle so they cannot get out of it?

Thanks!
Reply
#2

No, the player would be able to leave the car. Something you could do would be along the lines of creating a command that would freeze the player inside the car so he can't move. For example, a cuff command that you can find pretty much on any RPG / Roleplay GM.
Reply
#3

Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
No, the player would be able to leave the car. Something you could do would be along the lines of creating a command that would freeze the player inside the car so he can't move. For example, a cuff command that you can find pretty much on any RPG / Roleplay GM.
Or he could use https://sampwiki.blast.hk/wiki/GetPlayerSpecialAction and see if the player does the Exit Vehicle animation and stop him from doing that, Why this is better well its because freezing a player doesnt let him move him camera around while using GetPlayerSpecialAction would let him look around.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)