how to make /me
#2

Quote:
Originally Posted by NourNN
Посмотреть сообщение
Hi All This My First Time In This Forum Dont Insult Plz Iam begginer

how to make /me




About /me




And Thanks if i helped you +rep
First of all this is script help thread, not tutorials thread.

And the problem with your code is .
PHP код:
CMD:me(playerid,params[])
{
    new 
text[128], string[128];
    if(
sscanf(params,"s[128]",text)) return SendClientMessage(playerid,0xEBFF00FF,"USAGE: /me [Text]");
    
format(string,sizeof(string),"*%s %s",pName(playerid),text);
    
SendClientMessageToAll(0xFF00E1FF,string);
    return 
1;

sscanf must include string size, also there is no need for "d" in it, you are not looking for any intergrers. Also your "text" wasnt set to string size
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: 3 Guest(s)