How to create a new function
#10

You already made the function, you just didn't place any code inside.

pawn Код:
forward DelayedFunction(playerid);
public DelayedFunction(playerid)
{
    new pName[24];
    GetPlayerName(playerid, pName, 24);

    new string[128];
    format(string, sizeof string, "(%s) has joined the server.", pName);
    SendClientMessageToAll(-1, string);
    return 1;
}
Reply


Messages In This Thread
How to create a new function - by saffierr - 23.08.2015, 21:48
AW: How to create a new function - by MrGtasagamer - 23.08.2015, 21:55
AW: How to create a new function - by Kaliber - 23.08.2015, 21:55
Re: How to create a new function - by Abagail - 23.08.2015, 22:00
Re: How to create a new function - by rymax99 - 23.08.2015, 22:00
Re: How to create a new function - by saffierr - 23.08.2015, 22:02
Re: How to create a new function - by saffierr - 23.08.2015, 22:08
AW: Re: How to create a new function - by MrGtasagamer - 23.08.2015, 22:12
Re: How to create a new function - by saffierr - 23.08.2015, 22:20
Re: How to create a new function - by Abagail - 23.08.2015, 22:22

Forum Jump:


Users browsing this thread: 1 Guest(s)