/ahelp Problem
#1

Код:
COMMAND:ahelp(playerid,params[])
{
    if(PlayerAdmin[playerid] == 0) return SendClientMessage(playerid,COLOR_RED,"You can not use this Command!");

    SendClientMessage(playerid,COLOR_LIGHTGREEN,"Admin-Commands");
    SendClientMessage(playerid,COLOR_HAUT,"1: /whisper, /changename, /cchat, /cnn, /admin, /setweather, /settime, /mute, /unmute, /spec ,/specoff, /kick, /freeze, /unfreeze, /slap, /mute, /unmute");
    SendClientMessage(playerid,COLOR_YELLOW,"*2: /kick,/warn, /akill, /ban, /slap, /freeze, /unfreeze, /spawn, /mute, /unmute");
    SendClientMessage(playerid,COLOR_PINK,"*3: /freeze, /unfreeze, /maptime, /explode, /dchat, /mathevent, /stopmathevent, /goto, /gethere /spawn, /spec, /unbanip");
    SendClientMessage(playerid,COLOR_ORANGE,"*4: /money /gmx, /makeadmin, /givescore, /removescore, /rangeban, /heli, /car");
    SendClientMessage(playerid,COLOR_LIGHTGREEN,"|____________________________________|");
	return 1;
}
The Problem is that the Line for Admin Level 1 are not screened, when an Admin type /ahelp. Know everyone an Answer?
Reply
#2

Try splitting it up to another line, might be too long.
Reply
#3

Код:
SendClientMessage(playerid,COLOR_HAUT,"*1: /whisper, /changename, /cchat, /cnn, /admin, /setweather, /settime, /mute, /unmute, /spec ,/specoff, /kick, /freeze, /unfreeze, /slap, /mute, /unmute");
I'm not 100 % what you meant, but did you used "*" without quotes, before number one (1)?
Reply
#4

Yes i use it just like that also the "*".
Reply
#5

I Had similar problem with one long text. Have you tried to put some text to second line, because the line looks like long.
Reply
#6

Quote:
Originally Posted by CrossUSAAF
Посмотреть сообщение
I Had similar problem with one long text. Have you tried to put some text to second line, because the line looks like long.
Yes, i try it now to put it on second Line, and it works.
Reply
#7

In case you want to "cut" some parts, because the line is too long, you can use this way or strcat.
pawn Код:
// --
    SendClientMessage( playerid, -1, "Imagine this line as a big one! \
                                    blabla.. \
                                    blabla.. \
                                    blabla.. \
                                    blabla.."
);
Reply
#8

Add
PHP код:
string[258
it should fix it.
Reply
#9

I suggest you to read Abreezy's post as it seems the correct answer. Your first line's length is 152, and if I'm not mistaken, the limit is 128. Even though I think it should appear anyway, yet half. Try splitting.

EDIT: I gotta be faster.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)