I want to inform the players, that the Patrolheli was killed or the Patrolheli has leaved the island. Sounds easy ... but in this case i always got the information that the Heli was killed although it just leaves the island... pls. help!
voidBroadcast(string msg, params object[] args){PrintToChat(msg, args);}voidOnEntityLeave(TriggerBase trigger,BaseEntity entity){if(entity is BaseHelicopter){Broadcast("Patrolheli leaves.");}}voidOnEntityKill(BaseNetworkable entity){if(entity is BaseHelicopter){Broadcast("Patrolheli was killed.");}}
Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
Dr.D.Bug
I want to inform the players, that the Patrolheli was killed or the Patrolheli has leaved the island. Sounds easy ... but in this case i always got the information that the Heli was killed although it just leaves the island... pls. help!
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now