Jump to content

(help) message to get to Las Venturas


lucascba

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...