Results 1 to 7 of 7

Thread: block a model which is moving

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts
    example: an elevator which is moving and suddenly, there is something which spawn and it block the elevator so it cant move correctly.
    Last edited by ORDI; 2nd June 2015 at 19:49.

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by ORDI View Post
    example: an elevator which is moving and suddenly, there is something which spawn and it block the elevator so it cant move correctly.
    check every entity with
    PHP Code:
    entity isTouchingplayer 
    like every second, and if some players that are touching the entity AND not change their position AND while your entity should move AND is also not changing its position, you could set the players origin or kill'em

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •