Newbie system.
#1

Has anyone got a quick /newbie system that i could use?, i tried to take one from another script i have but it kept giving me errors and well im not equipped with the right skill set to fix said errors.
Reply
#2

You mean /newbie chat?
Код:
CMD:newbie(playerid, params[])
{
	new string[128], name[MAX_PLAYER_NAME];
	if(isnull(params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /newbie [question].");
	else
	{
	    GetPlayerName(playerid, name, sizeof(name));
	    format(string,sizeof(string), "Newbie %s: %s", name, params);
	    SendClientMessageToAll(COLOR_NEWBIE, string);
	}
	return 1;
}
Not tested, but it will be okey..
Reply
#3

Quote:
Originally Posted by BrianS123
Посмотреть сообщение
You mean /newbie chat?
Код:
CMD:newbie(playerid, params[])
{
	new string[128], name[MAX_PLAYER_NAME];
	if(isnull(params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /newbie [question].");
	else
	{
	    GetPlayerName(playerid, name, sizeof(name));
	    format(string,sizeof(string), "Newbie %s: %s", name, params);
	    SendClientMessageToAll(COLOR_NEWBIE, string);
	}
	return 1;
}
Not tested, but it will be okey..
Yeah like that, Il test it now, Thank you.
Reply
#4

Yes it works. Thank you very much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)