how to make /me
#5

Quote:
Originally Posted by CrazyPerry
Посмотреть сообщение
Код:
CMD:me(playerid,params[])
{
new text, string[123];
if(sscanf(params,"sd",text)) return SendClientMessage(playerid,0xEBFF00FF,"USAGE: /me [Text]");
format(string, sizeof(string), "%s (%d): %s",pName,playerid,text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
return 1;
}
try this bro
I dont even see that you changed something. Text is still recognized as Int as you havent set the size or anything to it, also parameters in sscanf are SD, what is "d" for? Please, just look at my code which works.
Reply


Messages In This Thread
how to make /me - by NourNN - 14.12.2015, 19:20
Re: how to make /me - by TwinkiDaBoss - 14.12.2015, 20:02
Re: how to make /me - by TheSnaKe - 14.12.2015, 20:18
Re: how to make /me - by CrazyPerry - 15.12.2015, 01:03
Re: how to make /me - by TwinkiDaBoss - 15.12.2015, 01:20
Re: how to make /me - by SoFahim - 15.12.2015, 03:03
Re: how to make /me - by DaniceMcHarley - 15.12.2015, 07:38
Re: how to make /me - by NourNN - 15.12.2015, 12:34
Re: how to make /me - by N0FeaR - 15.12.2015, 12:49
Re: how to make /me - by Stinged - 15.12.2015, 14:12

Forum Jump:


Users browsing this thread: 2 Guest(s)