Currently Posted August 5, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted August 5, 2014 Talk to NPC. Input a player. Will show the last I.P. he got. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 5, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 2 hours ago Share Posted August 5, 2014 mes "Player name"; input .@name$; mes "IP : "+getcharip( .@name$ ); close; make sure you enter correct IP and make sure they are online..xD or better version mes "Player name"; input .@name$; query_sql( "SELECT `account_id` FROM `char` WHERE `name` = '"+escape_sql( .@name$ )+"' LIMIT 1",.@aid ); if( .@aid ){ query_sql( "SELECT `last_ip` FROM `login` WHERE `account_id` = "+.@aid+" LIMIT 1",.@last_ip$ ); mes "IP : "+.@last_ip$; } close; didnt test. 1 Quote Link to comment Share on other sites More sharing options...
Currently Posted August 5, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted August 5, 2014 +1 Reputation. It won't let me click that Reputation button. Thanks emistry! Quote Link to comment Share on other sites More sharing options...
Question
Currently
Talk to NPC. Input a player. Will show the last I.P. he got.
Link to comment
Share on other sites
2 answers 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.