Jump to content
RAGE Multiplayer Community

CEF didn't display


madKelly
 Share

Recommended Posts

1 hour ago, MrPancakers said:

In case anyone wishes to help, I tried out the code myself and it does work, there's just something on madKelly's side that isn't letting the page show up when he joins his server.

Yep. I delete all files and redownload everything but still nothing...

Link to comment
Share on other sites

function OnPlayerJoin(player)
{
  console.log("\nFunction OnPlayer działa!");
  player.position = new mp.Vector3(-403, 5962, 31);
  player.call("gamemode:createLoginPanel");
}
mp.events.add("playerJoin", OnPlayerJoin);
player.call("gamemode:createLoginPanel"); don't work. Question - why?
Link to comment
Share on other sites

 

В 10/8/2017 в 22:33, madKelly сказал:
function OnPlayerJoin(player)
{
  console.log("\nFunction OnPlayer działa!");
  player.position = new mp.Vector3(-403, 5962, 31);
  player.call("gamemode:createLoginPanel");
}
mp.events.add("playerJoin", OnPlayerJoin);
player.call("gamemode:createLoginPanel"); don't work. Question - why?

u need to trigger server after ur CEF starts .

then createLoginPanel

Edited by zigutt
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...