03.04.2010, 07:18
As far as I know there fine.
pawn Код:
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"%s has connected to the server.",pName);
SendClientMessageToAll(COLOR_YELLOW,string);
ResetPlayerWeapons(playerid);
TogglePlayerControllable(playerid,1);
SetPlayerTeam(playerid,Team_Civ);
return 1;
}