21.05.2009, 12:16
Quote:
Originally Posted by DeathlyForce
1.open the script you want to edit with pawno located in your serverfolder/pawno/pawno.exe.
2.search for public OnPlayerConnect. 3. Add the stuff below between the brackets to the OnPlayerConnect part of the GameMode. Код:
public OnPlayerConnect(playerid) { new name[MAX_PLAYER_NAME], string[48]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "Welcome to the server \"%s\"", name); SendClientMessage(playerid,0xFFFF00AA, string); return true; } |
