No categories assigned

LUA:SendPopUpMessage

This function will send a pop-up message to a player. The last 3 parameters are the number amount of each color.

Syntax

SendPopUpMessage(target, "message string", red, green, blue)

Usage

function InRange(Zone, Spawn)
    if GetQuestStep(Spawn, 4) == 3 then
        SendPopUpMessage(Spawn, "This is the break in the barricade Yasha sent you to fix.", 255, 255, 255)
    end
end

When InRange() is called, and the if statement is passed, the target "Spawn" will get a white colored Pop-Up message that says "This is the break in the barricade Yasha sent you to fix.".

Back to LUA General Functions Index