An simple quastion
#2

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;
}
4.Compile the GameMode by pressing F5.
Reply


Messages In This Thread
An simple quastion - by Littleman774 - 20.05.2009, 22:33
Re: An simple quastion - by GanG$Ta - 20.05.2009, 22:49
Re: An simple quastion - by Littleman774 - 21.05.2009, 12:16
Re: An simple quastion - by Littleman774 - 21.05.2009, 12:17
Re: An simple quastion - by GanG$Ta - 21.05.2009, 12:22
Re: An simple quastion - by Littleman774 - 21.05.2009, 12:26
Re: An simple quastion - by Littleman774 - 21.05.2009, 12:30
Re: An simple quastion - by Badger(new) - 21.05.2009, 14:01

Forum Jump:


Users browsing this thread: 3 Guest(s)