public OnPlayerConnect(playerid) { new Country[256]; new mess[256],IP[256]; GetPlayerIp(playerid,IP,sizeof(IP)); format(mess,sizeof(mess),"%s(%s) has joined American Streets Roleplay Sucks",GetPName(playerid),IP); printf(mess); SendClientMessageToAll(COLOR_JOIN,mess); return 1; }
Код:
public OnPlayerConnect(playerid) { new Country[256]; new mess[256],IP[256]; GetPlayerIp(playerid,IP,sizeof(IP)); format(mess,sizeof(mess),"%s(%s) has joined American Streets Roleplay Sucks",GetPName(playerid),IP); printf(mess); SendClientMessageToAll(COLOR_JOIN,mess); return 1; } GEO-IP |
Is that only see if Junior Admin?
I need also an script that when player register and if they spawn they will see this text: Refund Info: Test Test Te st |
public OnPlayerConnect(playerid) { if(PlayerInfo[playerid][JuniorAdmin] >= 1) { new Country[256]; new mess[256],IP[256]; GetPlayerIp(playerid,IP,sizeof(IP)); format(mess,sizeof(mess),"%s(%s) has joined American Streets Roleplay Sucks",GetPName(playerid),IP); printf(mess); SendClientMessageToAll(COLOR_JOIN,mess); return 1; } return 1; }
SendClientMessage(playerid,COLOR,"Test"); SendClientMessage(playerid,COLOR,"Test"); SendClientMessage(playerid,COLOR,"TE"); SendClientMessage(playerid,COLOR,"st");
if(PlayerInfo[playerid][JuniorAdmin] >= 1) { { SendClientMessage(playerid,COLOR,"Test"); SendClientMessage(playerid,COLOR,"Test"); SendClientMessage(playerid,COLOR,"TE"); SendClientMessage(playerid,COLOR,"st"); } return 1; }