SA-MP Forums Archive
SAMP function. - 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: SAMP function. (/showthread.php?tid=543072)



SAMP function. - Baltimore - 24.10.2014

There is a basic function of SA: MP which indicates whether a player is logged based on its name (not its id) ?!

If there is not, is it feasible?

How can I do?

Thx


Re: SAMP function. - HazardouS - 24.10.2014

Well, you can loop through all players and compare their names with the one you need. If there is no match, it means that your name is not connected.