1) Download the 0.3d R2 package from
here. Extract all the contents. Copy announce.exe, samp-server.exe, and npc.exe and overwrite them in your server directory. Next, go to the 0.3d R2 package click pawno, click on include copy all the includes, and paste them in your pawno/include folder in your server directory. Re-compile your script and you're done.
2)
pawn Код:
public OnPlayerConnect(playerid)
{
new string[128]; // A new string that will hold the message.
new name[MAX_PLAYER_NAME]; // A new string that will hold the name.
// The code below formats the message string using the name string and the playerid.
format(string,sizeof(string),"Player %s (ID: %d) has joined the Internation Trucking Server.",name,playerid);
SendClientMessageToAll(-1,string); // Lastly, you send the formatted message to all the players online.
return 1;
}