Jump to content

مشكلة debugscript3


Recommended Posts

هلا شباب

لما ضغط على انتقال الى السيرفر /

client FOX triggered serverside event onRedictPlayer,but event is not added serverside 

يعني التريقر حق السيرفر مب موجود

ولا وش ؟؟؟

serverside

-- Server 
Servers = { 
    ["drift1"] = { "5.231.54.172", "44444" }, 
    ["Gang1"] = { "5.231.54.172", "55555" }, 
    ["zombie1"] = { "5.231.54.172", "44443" }, 
} 
  
addEvent ( "onRedirectPlayer", true ) 
addEventHandler ( "onRedirectPlayer", root, 
    function ( name ) 
        if Servers[name] then 
            redirectPlayer ( source, Servers[name][1], Servers[name][2] ); 
        end 
   end 
) 

Edited by Guest
Link to comment
-- Server 
Servers = { 
    ["drift1"] = { "5.231.54.172", "44444" }, 
    ["Gang1"] = { "5.231.54.172", "55555" }, 
    ["zombie1"] = { "5.231.54.172", "44443" }, 
} 
  
addEvent ( "onRedictPlayer", true ) 
addEventHandler ( "onRedictPlayer", root, 
    function ( name ) 
        if Servers[name] then 
            redirectPlayer ( source, Servers[name][1], Servers[name][2] ); 
        end 
   end 
) 

Link to comment
  • Other Languages Moderators
هلا شباب

لما ضغط على انتقال الى السيرفر /

client FOX triggered serverside event onRedictPlayer,but event is not added serverside 

يعني التريقر حق السيرفر مب موجود

ولا وش ؟؟؟

serverside

-- Server 
Servers = { 
    ["drift1"] = { "5.231.54.172", "44444" }, 
    ["Gang1"] = { "5.231.54.172", "55555" }, 
    ["zombie1"] = { "5.231.54.172", "44443" }, 
} 
  
addEvent ( "onRedirectPlayer", true ) 
addEventHandler ( "onRedirectPlayer", root, 
    function ( name ) 
        if Servers[name] then 
            redirectPlayer ( source, Servers[name][1], Servers[name][2] ); 
        end 
   end 
) 

onRedictPlayer

onRedirectPlayer

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