How to script this.
#5

pawn Код:
public OnPlayerConnect(playerid)
{
    new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s has joined the server", pname);
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
Thats from the tutorial, you need to customize it for your script.
Reply


Messages In This Thread
How to script this. - by Eljayar - 26.02.2012, 08:13
Re: How to script this. - by BigD - 26.02.2012, 08:22
Re: How to script this. - by BMUK - 26.02.2012, 08:24
Re: How to script this. - by Eljayar - 26.02.2012, 08:25
Re: How to script this. - by BigD - 26.02.2012, 08:27
Re: How to script this. - by Eljayar - 26.02.2012, 08:31
Re: How to script this. - by BigD - 26.02.2012, 08:33
Re: How to script this. - by Eljayar - 26.02.2012, 08:37
Re: How to script this. - by BigD - 26.02.2012, 08:39
Re: How to script this. - by blewert - 26.02.2012, 08:43

Forum Jump:


Users browsing this thread: 1 Guest(s)