Jump to content
  • 0
xyz2453

How do I retrieve level of another character?

Question

It's appeared to me that you can only retrieve variables from the currently interacting PC. Or am I wrong? Any work around?

Edited by xyz2453

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

It's appear to me that you can only retrieve variables from the currently interacting PC. Or am I wrong? Any work around?

If the Other Player is online, then (Here's a Small Snippet of how to do)

.@other_blvl = 0;
.@other_accid = 2000001;
if (attachrid(.@other_accid)) {
	.@other_blvl = BaseLevel;
} else {
	dispbottom "Player Offline";
	end;
}
dispbottom "Base Level of Other Player: "+ .@other_blvl;
end;

if Player Offline, then you need to use SQL Queries

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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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