how to add this
#1

Say me how to add this code in my trucking server

Код:
CMD:announce(playerid, params[])
{
    new pid;
    if (APlayerData[playerid][PlayerLevel] >= 1)
    {
        if(!sscanf(params, "ui", pid))
			{
			    new string[256];
			    format(string, sizeof(string), "Announcement by %s: %s", GetName(pid), text);
			    SendClientMessage(playerid, COLOR_RED, string);
			    return 1;
			}
			else return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /announce [Text]");
    }
	else SendClientMessage(playerid, COLOR_RED, "You do not have access to this command");
	return 1;
}
Reply


Messages In This Thread
how to add this - by [FoR]EveR - 17.03.2012, 08:51
Re: how to add this - by GNGification - 17.03.2012, 08:58
Re: how to add this - by [FoR]EveR - 17.03.2012, 08:59
Re: how to add this - by GNGification - 17.03.2012, 09:02
Re: how to add this - by Ronaldo_raul™ - 17.03.2012, 09:02
Re: how to add this - by [FoR]EveR - 17.03.2012, 09:06
Re: how to add this - by [FoR]EveR - 17.03.2012, 09:08
Re: how to add this - by JJB562 - 17.03.2012, 09:11
Re: how to add this - by [FoR]EveR - 17.03.2012, 09:13
Re: how to add this - by tyler12 - 17.03.2012, 09:17

Forum Jump:


Users browsing this thread: 1 Guest(s)