15.09.2015, 11:49
PHP код:
public OnPlayerConnect(playerid)
{
if(strfind(GetName(playerid), "[NGA]") != -1)
{
// your msg and the thing u want to do for example kick(playerid);
}
return 1;
}
GetName(playerid)
{
new pnameid[24];
GetPlayerName(playerid,pnameid,24);
return pnameid;
}