02.02.2010, 00:56
I wish that when a person who never set on the server, if it was her first time, announced to the entire server:
We have a beginner, NAME, welcome.
We have a beginner, NAME, welcome.
public OnPlayerConnect(playerid)
{
new tmp[100];
new pname[24];
GetPlayerName(playerid,pname,24);
format(tmp,100,"/users/%s.ini",pname);
if(!fexist(tmp))
{
format(tmp,100,"Everyone please welcome %s to the server!",pname);
SendClientMessageToAll(0xFFFFFFFF,tmp);
}
}