help.
#1

I Know I have Asked much in 1 hours
and im stressing you but im learning

This is Code :

Код:
new bool:smscheck[MAX_PLAYERS];
new smstarget;
CMD:t(playerid, params[])
{

	new id, str1[128], str2[128], name[MAX_PLAYER_NAME], pname, message;
	GetPlayerName(playerid, name, MAX_PLAYER_NAME);
	if(sscanf(params, "us", id, message)) return SCM(playerid, -1, "USAGE:/t[playerid][message].");
	format(str1, sizeof(str1), "%s:%s", name, message);
	format(str2, sizeof(str2), "You:%s", message);
	SCM(id, 0xecf720FF, str1);
	SCM(playerid, 0xecf720FF, str2);
	playerid=smstarget;
	smscheck[id]=true;
	return 1;

}
We have :
Mark[1]:/t 0 Hey
Sara[0]: " :Hey"
(instead of name):Hey
Wish Yo got it
Reply


Messages In This Thread
help. - by Osamakurdi - 04.01.2018, 14:02
Re: help. - by RogueDrifter - 04.01.2018, 14:05
Re: help. - by Osamakurdi - 04.01.2018, 14:06
Re: help. - by Osamakurdi - 04.01.2018, 14:09
Re: help. - by RogueDrifter - 04.01.2018, 14:10
Re: help. - by Osamakurdi - 04.01.2018, 14:12
Re: help. - by Osamakurdi - 04.01.2018, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)