Jump to content

Help in script


cuervox123

Recommended Posts

hello, I need help in the script endmision in the file client where select all players

tested with different arguments and I can not. Thanks for the help

C:

function endmision() 
if isElement (truckerMarker) then 
        destroyElement ( truckerMarker ) end 
        if isElement (truckerBlip) then 
        destroyElement ( truckerBlip ) end 
triggerEvent("callOutputGuiText", localPlayer, "TE DESCARRILASTE:Regresa al trabajo.", 0, 255, 0) 
end 
addEvent( "re", true) 
addEventHandler("re", root, endmision) 

S:

function ealoo(source) 
triggerClientEvent("re",source) 
end 
addEventHandler("onTrailerDetach", root, ealoo) 

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