#1

How to make:
/hi id
>> ' Nick ' Welcomes the player ' Nick'

/bb id
>>'Nick' bb 'Nick'
Reply
#2

uhm...You can have like this:
Код:
	if(!strcmp(cmd, "/hi",true) || !strcmp(cmd, "/hey",true))
	{
		new dir[256];
		dir = strtok(cmdtext, idx);
		strmid(tmp, cmdtext, 4, strlen(cmdtext));
		if(!strlen(dir))
		{
			SendClientMessage(playerid,COLOR_PINK,"[USAGE]> /hi [Message]");
			return 1;
		}
		dir = strtok(cmdtext, idx);
		new string[128];
		GetPlayerName(playerid, sendername, sizeof(sendername));
		format(string, sizeof(string), "*** %s %s Say you Hi!! ", sendername, tmp);
		SendClientMessageToAll(COLOR_WHITE,string);
		print(string);
		return 1;
	}
Reply
#3

Separately how to make?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)