30.01.2013, 13:10
Hello
I do not understand what the problem and after a few stops writing characters can someone please change me the command to do that if I run out of line it will open another line thanks to helpers
I do not understand what the problem and after a few stops writing characters can someone please change me the command to do that if I run out of line it will open another line thanks to helpers
PHP код:
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;
}