lucascba Posted July 19, 2014 Share Posted July 19, 2014 Hello, I would like to know how to do that when a player enters Las Venturas you leave a message? Sorry for my bad English Link to comment
Metall Posted July 19, 2014 Share Posted July 19, 2014 I guess this is what you wanted to do, Server: local LV = createColRectangle(866, 656, 2100, 2300) function onEnter(player, md) if (player and isElement(player) and getElementType(player) == "player" and md) then outputChatBox("Welcome to Las Venturas!", player, 0, 255, 0) end end addEventHandler("onColShapeHit", LV, onEnter) md is short for matchingDimension, both can be used in as included parameters. It's probably not even needed unless you only want it to be triggered in the main dimension (0). Link to comment
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