onplayerconnect
#1

hello i want to add that funcsion for admins ,, onplayerconnect .


here is onplayerconnect script
PHP код:
    new connectstr[128];
    
format(connectstrsizeof(connectstr), "* %s (%d) Has Joined The Server.",pNick(playerid),playerid);
    
SendClientMessageToAll(COLOR_DEADconnectstr); 
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."

Reply
#2

Two options: use a) use a web-based API or b) a local solution using this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)