/me command help ! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /me command help ! (
/showthread.php?tid=386336)
/me command help ! -
UnAngel - 20.10.2012
Hello I have long needed a way to make my command will be long and not by line stop and after a few words that will open another line please help my command so please help
Код:
command(me, playerid, params[]) {
new
string[128];
if(isnull(params))
{
return SendClientMessage(playerid, WHITE, "SYNTAX: /me [action]");
}
if(Player[playerid][pMask] == 1)
{
format(string, sizeof(string), "*[Mask_%d] %s", Player[playerid][MaskRandom], params);
}
else
{
format(string, sizeof(string), "* %s %s", RemoveUnderScore(playerid), params);
}
NearByMessage(playerid, COLOR_PURPLE, string);
Player[playerid][MeActions]++;
return 1;
}
Re: /me command help ! -
Gamer_007 - 20.10.2012
This is mine
PHP код:
CMD:me(playerid,params[])
{
new string[256];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
if(strlen(params))
{
format(string,sizeof(string),"*%s %s",playername,params);
SendClientMessageToAll(COLOR_GREY,string);
}
else
{
format(string,sizeof(string),"*%s ",playername);
SendClientMessageToAll(COLOR_GREY,string);
}
return 1;
}
Re: /me command help ! -
JaKe Elite - 20.10.2012
^^
Dude he meant when there is no space for the line
the line will form into 2 line like this
Код:
Romel is cooking a selfish fish in
my house tonight
Re: /me command help ! -
UnAngel - 20.10.2012
Quote:
Originally Posted by Romel
^^
Dude he meant when there is no space for the line
the line will form into 2 line like this
Код:
Romel is cooking a selfish fish in
my house tonight
|
yes can you make it for me please or someone else ?
Re: /me command help ! -
JaKe Elite - 20.10.2012
^^
I don't even know how to do it..
Re: /me command help ! -
UnAngel - 20.10.2012
someone else please i need this !
Re: /me command help ! -
UnAngel - 20.10.2012
guys please build it for me i need to open the server today and i need it !!
[sory abut the jump]
Re: /me command help ! -
JaKe Elite - 20.10.2012
But dude, you are in wrong section.
You must post this on Scripting Request Thread.
Re: /me command help ! -
UnAngel - 20.10.2012
My English is not good so you can put me what to say?