Jump to content

why not work? callRemote


Fabioxps

Recommended Posts

why not work?

function call2( text1, text2, text3, type, serverport ) 
   if serverport ~= getServerPort() then 
        outputChatBox(text1.." ".. text2.." ".. text3.." ".. serverport) 
       
end  
end 
function playerChatCallback() end 
  
function goCreateServer( text1, text2, text3, type ) 
    callRemote ( "mtasa://127.0.0.1:22003", getResourceName(getThisResource()), "call2", playerChatCallback, text1, text2, text3, type, getServerPort() ) 
end 
  
local text1 = "1" 
local text2 = "2 " 
local text3 = "3" 
goCreateServer( text1, text2, text3, type ) 

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