How to check if player is in teleporter?
Is there a way to check if a player is in a teleporter (trigger_teleport) ? Maybe catch the player if the player touches the teleporter or something?
|
Re: How to check if player is in teleporter?
You can probably check pev_classname at FM_Touch, although I'm not quite sure of it.
|
Re: How to check if player is in teleporter?
register_touch( "trigger_teleport", "player", "CPlayer_TeleporterTouch" );
public CPlayer_TeleporterTouch ( const Teleport, const Player ) { } |
| All times are GMT -4. The time now is 22:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.