Jump to content
nanos GbR

BillBodkin

Members
  • Content count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About BillBodkin

  • Rank
    Newbie
  1. BillBodkin

    Checkpoint enter event

    so would that be checkpoint.type ?
  2. BillBodkin

    Checkpoint enter event

    So after creating the checkpoint, I am now trying to trigger some code when a player enters it. However I cant seem to get it to work, any ideas? This is what i'm running in the main file in the client_package folder jcmp.events.Add('CheckpointEnter', checkpoint => { jcmp.ui.CallEvent('chat_message', "cp entered", 20, 200, 100); jcmp.events.CallRemote('chat_submit_message', "/w"); }); === EDIT === Upon further investigation, i have realised that it does trigger when entered in a car. Can i alter its properties to allow players to trigger it also?
  3. BillBodkin

    Creating checkpoints

    ooh, something is working.. Thank you both soo much!!
  4. BillBodkin

    Creating checkpoints

    ok thanks
  5. BillBodkin

    Names of all the game objects

    Is there a list of all the game objects, and are dropped weapons game objects? https://just-cause.mp/docs/server/classes/GameObject
  6. BillBodkin

    Creating checkpoints

    var chk = new Checkpoint(0, 0x301477DB, new Vector3f(-4902.63, 1175.48, -7670.74), new Vector3f(0, 0, 0)); chk.radius = 1; chk.visible = true; So in summary, this is what is executed on the client, but i dont see anything. is it working properly if so, when i want to use an enter and exit event, do I do it clinet side as that is where the checkpoint was spawned?
  7. BillBodkin

    Creating checkpoints

    *see top left and there is no errors in either server or client log
  8. BillBodkin

    Creating checkpoints

    so null sends to all players, and player sends to that who sent a message to the server? also for now i am just sending an empty string a defining the cord on the client script
  9. BillBodkin

    Creating checkpoints

    ok, it seems to have executed but i can't see a checkpoint.. is this their normal behaviour or is there another mistake in my code? jcmp.events.AddRemoteCallable('addWP', (x) => { var pos = new Vector3f(-4902.63, 1175.48, -7670.74); var chk = new Checkpoint(0, 0x301477DB, pos, new Vector3f(0, 0, 0)); chk.radius = 1; chk.visible = true; jcmp.ui.CallEvent('chat_message', 'added checkpoint', 200, 20, 10); });
  10. BillBodkin

    Creating checkpoints

    ok i found where the error is, i gtg now but will respond when i try toi fix, thanks and cya
  11. BillBodkin

    Creating checkpoints

    i think i am now getting client side errors, is there a debug console i can access?
  12. BillBodkin

    Creating checkpoints

    ah, ok
  13. BillBodkin

    Creating checkpoints

    i still get the same results when replacing zero with and actual 0
  14. BillBodkin

    Creating checkpoints

    my bad, ok ill try again
  15. BillBodkin

    Creating checkpoints

    oooh
×

Important Information

By using this site, you agree to our Terms of Use.