SA-MP Forums Archive
about aka - 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: about aka (/showthread.php?tid=657637)



about aka - severance - 12.08.2018

Is there a way to make an aka system with MySQL?, been asking this but never actually made a thread. Can someone list me something where can I store player's ip and suddenly all of his nicknames.

If there is an FS made with y ini or just some piece of codes where I can understand how the thing works, ill be pleased


Re: about aka - GangstaSunny. - 12.08.2018

GetIP
Check if IP exist in database
INSERT INTO

Srsly dude. Blame.


Re: about aka - CodeStyle175 - 12.08.2018

select * from ipaccs where ip='%s' and name='%s'

if(!cache_num_rows())
insert into ipaccs(ip,name) values('%s', '%s')