AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Ham Player to entity (https://forums.alliedmods.net/showthread.php?t=294769)

DarthMan 03-07-2017 02:52

Ham Player to entity
 
Hello. I've been working on a teleport plugin which is almost done. How can I check if the player is on the teleport entity named ent_tele_entrance ?

georgik57 03-07-2017 04:54

Re: Ham Player to entity
 
Use Engine's register_touch or Fakemeta's FM_Touch if you don't care about the player being exactly over the entity. Also, make sure you've set a proper entity size.

Natsheh 03-07-2017 06:30

Re: Ham Player to entity
 
Or u can do all this stuuff in the entity think
And get the player entity by sphere and check if hes ground is equal to the ent id

DarthMan 03-10-2017 14:27

Re: Ham Player to entity
 
Pleace clsoe this topic :)

edon1337 03-10-2017 14:37

Re: Ham Player to entity
 
Quote:

Originally Posted by DarthMan (Post 2502453)
Pleace clsoe this topic :)

Or just mark it as solved.

georgik57 03-10-2017 14:42

Re: Ham Player to entity
 
He gave it up, so it's not really solved.


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

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