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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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