Currently Posted August 5, 2014 Posted August 5, 2014 Talk to NPC. Input a player. Will show the last I.P. he got. Quote
Emistry Posted August 5, 2014 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
Currently Posted August 5, 2014 Author Posted August 5, 2014 +1 Reputation. It won't let me click that Reputation button. Thanks emistry! Quote
Question
Currently
Talk to NPC. Input a player. Will show the last I.P. he got.
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.