Jump to content

little problem.


Tete omar

Recommended Posts

Hello all,

when i click on "English" button everything will be happened , but , there's a little problem , and i think it with the timer , i'm getting spawned every 10 sec or 5

watch this

https://www.youtube.com/watch?v=TZez25s- ... e=youtu.be

here's the codes

server side

function Airporting() 
setElementPosition( client, 1707.4298095703, 1607.8055419922, 10.015625 ) 
setCameraTarget( client ) 
end 
addEvent("Airporting", true) 
addEventHandler('Airporting', getRootElement(), Airporting) 

client side

function iaccept() 
    if ( source == English ) then 
        guiSetVisible( GUIEditor_Window[7], false ) 
            guiSetInputEnabled( false ) 
                showCursor( false ) 
                fadeCamera( false ) 
                setTimer( 
                function() 
                    fadeCamera( true ) 
                        triggerServerEvent("Airporting", localPlayer) 
                end, 6000, 6) 
end 
end 
addEventHandler("onClientGUIClick", getRootElement(), iaccept) 

what's the problem ?

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