What's wrong with this?
#1

So I have these codes.

pawn Код:
//---------[Server Rules]----------
CMD:rules(playerid, params[])
{
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "--------------------------------------------------------------------------------------------------------------------------------------------------------");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " 1) Do not use hacks or cheats on the server.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " 2) Do not flame or insult players on the server.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " 3) Do not deathmatch on the server.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " 4) Do not flood any of the chats on the server.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " 5) Do not Meta-Game nor Power-Game.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " 6) Do not kill a player without a proper role-play reason.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "-------------------------------------------------------------------------------------------------------------------------------------------------------");
    return 1;
}

//---------[Server Commands]----------
CMD:commands(playerid, params[])
{
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "-----------------------------------------------------------------------------------------------------------------------");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[CHAT:] /b [OOC] | /w [Whisper] | /s [Shout] | /me [Action] | /do [Description] /pm [Private Message] /o [Public OOC]");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[ACCOUNT:] /changepassword");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[GENERAL:] /rules | /kill | /ad | /dropwep | /faction | /report | /helpme");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[VEHICLE:] /myvehicles");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "-----------------------------------------------------------------------------------------------------------------------");
    return 1;
}
My problem is when I done /commands or /rules In-Game

These lines do not appear -
pawn Код:
SendClientMessage(playerid, COLOR_LIGHTBLUE, "-----------------------------------------------------------------------------------------------------------------------");

I don't see anything wrong, Please help.
Reply
#2

My best guess would to Shorten the length of the line.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)