Jump to content

Problem With Function


Zuher Laith

Recommended Posts

Greetings ..

So I have a problem with my Function

It Doesn't outputChatBox , but it works correctly:

function trailerDetach () 
    if source == vaunu then 
        outputChatBox ("Mission Failed, Please Try Again.", source, 255, 255, 255, true) 
        --destroyThings 
        destroyElement (rekka) 
        destroyElement (vaunu) 
        destroyElement (finish) 
        destroyElement (blip) 
        --removeEventHandlers 
        removeEventHandler ("onTrailerDetach", getRootElement(), trailerDetach) 
        removeEventHandler ("onVehicleExit", getRootElement(), vehicleExit) 
        removeEventHandler ("onPlayerQuit", getRootElement(), onQuit) 
        --other 
        startBlip = createBlip (2776.9, -2423.9, 12.7, 51) 
        setElementPosition (marker, 2776.6, -2425.5, 12.6) 
    else 
        return false 
    end 
end 

The Mod Only have a Server Side

Why The OutputChatBox Doesn't do anything ?

am i missing something ?

Please help ..

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...