Advertisement
dokerstar

Untitled

May 11th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. "use strict"
  2.  
  3. const misc = require('RP/cMisc');
  4. const player = mp.players.local;
  5.  
  6. function showCef(url) {
  7. misc.prepareToCef(1);
  8. misc.createCam(3223, 5349, 14, 0, 0, 218, 20);
  9. misc.openCef(url);
  10. }
  11.  
  12.  
  13. mp.events.add(
  14. {
  15. "cShowLoginCef" : (url) => {
  16. showCef(url);
  17. },
  18.  
  19. "cTryRegister" : (pass, user) => {
  20.  
  21. mp.events.callRemote('sTryRegister', pass, user);
  22. },
  23.  
  24.  
  25. "cTryLogin" : (pass) => {
  26. mp.events.callRemote('sTryLogin', pass);
  27. },
  28.  
  29. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement