onplayerconnect - 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: onplayerconnect (
/showthread.php?tid=635173)
onplayerconnect -
JuzDoiT - 02.06.2017
hello i want to add that funcsion for admins ,, onplayerconnect .
here is onplayerconnect script
PHP код:
new connectstr[128];
format(connectstr, sizeof(connectstr), "* %s (%d) Has Joined The Server.",pNick(playerid),playerid);
SendClientMessageToAll(COLOR_DEAD, connectstr);
if player is admin i want to show this message
Quote:
"* %s (%d) Has Joined The Server //- (His Ip Addres) - (His Country)."
|
EXC:
Quote:
"* %s (%d) Has Joined The Server - IP: 172.16.32.136 FROM: Greece."
|
Re: onplayerconnect -
Vince - 02.06.2017
Two options: use a) use a web-based API or b) a local solution using
this.