What's wrong with this? - 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: What's wrong with this? (
/showthread.php?tid=323780)
What's wrong with this? - Nicholas. - 06.03.2012
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.
Re: What's wrong with this? -
Lynn - 06.03.2012
My best guess would to Shorten the length of the line.