Jump to content
  • 0
Sign in to follow this  
Hyroshima

Get value from a char variable

Question

hello everyone, would anyone know how to tell me the simplest way to access a permanent char variable that i created in a player but by src?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
int64 value = pc_readregistry(sd, reference_uid(add_str("VARIABLE"), 0));

0 = THE Index if you are using array , if not leave it 0

 

  • Love 1

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, sader1992 said:
int64 value = pc_readregistry(sd, reference_uid(add_str("VARIABLE"), 0));

0 = THE Index if you are using array , if not leave it 0

 

Thank you very much, it worked just fine ❤️❤️❤️

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
Answer this question...

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

Sign in to follow this  

×
×
  • Create New...

Important Information

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