galzzy83

[Help] Client-Side Colshape JS

Recommended Posts

Hello gentlemen, I am working on a job system actually and i'm quite stuck right now. I am working with client-side colshapes and whenever I enter the colshape I would like to know which colshape I just entered but I have no idea how to do that... Anybody has any ideas how to use colshapes client-side ?

Thanks a lot !

My code https://gyazo.com/66c3acd36cffc56d2e759f128097471d

Share this post


Link to post
Share on other sites
Posted (edited)

You have to set the variable in the colshape after creating it.

 

jobColShape.setVariable("colshape","jobColshape")

 

 

Edited by dorito4

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.