Zell Posted May 9, 2015 Group: Members Topic Count: 53 Topics Per Day: 0.01 Content Count: 411 Reputation: 261 Joined: 04/25/12 Last Seen: Tuesday at 06:14 PM Share Posted May 9, 2015 (edited) Hi, i'm using the last version. I have problem to get a id by the charname, the values is always 0. prontera,150,149,5 Script charname 90,{ mes "Player Name"; input .@name$; mes ""+getcharid(0,.@name$)+""; close; Only if i change the .@name$ to strcharinfo(0) or the char name direct its return the char_id I discovered that if I put like this: mes "Digite o nome do jogador"; input @nome$; set @nome$,@n$; mes ""+getcharid(0,.@n$)+""; close; works... So, its a problem on input emulator or on getcharid? @edit I tested here, the problem is with the getcharid by the name Edited May 9, 2015 by Zell Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 9, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2348 Joined: 10/28/11 Last Seen: Monday at 01:58 PM Share Posted May 9, 2015 ensure the character is online ... Quote Link to comment Share on other sites More sharing options...
Question
Zell
Hi, i'm using the last version.
I have problem to get a id by the charname, the values is always 0.
Only if i change the .@name$ to strcharinfo(0) or the char name direct its return the char_id
I discovered that if I put like this:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.