SA-MP Forums Archive
aka command help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: aka command help (/showthread.php?tid=538213)



aka command help - Ciyber - 20.09.2014

Hello,
can some one tell me how to script cmd aka so i can check mutiaccounters, etc...
Thank you.


Re: aka command help - EgyptForLife - 20.09.2014

I understood nothing. Can you explain this cmd usage again ?


Re: aka command help - Nitin - 20.09.2014

Try luxadmin, it does have a command /aka.


Re: aka command help - Guest4390857394857 - 20.09.2014

If your using MYSQL. Then Its soo simple. Just make a query to get data of all users with same ip. I just wrote an example below!
pawn Код:
CMD:aka(playerid, params[])
{
new string[256], otherid, ip;
if(sscanf(params,"u",otherid)) return SendClientMessage(playerid, -1, "USAGE: /aka [id]");
GetPlayerIP(playerid, ip, sizeof(ip));
///YOUR MYSQL QUERY ACCORDING TO VERSION. //FORMAT IT
"SELECT `User` FROM tablename WHERE IP=%s" , ip
HENCE LOAD RESULT IN DIALOG. Also set permissions for CMD.