20.11.2010, 15:20
Quote:
|
So i have to do SendClientMessage before every line of words ? o. o can you pleaasee fix it for me?
|
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, red, "~~~Help~~~ ");
SendClientMessage(playerid, red, "First Of All Read The Rules! ");
SendClientMessage(playerid, red, "Do So By Typing /Rules In The Chat Window ");
SendClientMessage(playerid, red, "/Teles To See All Of The Teleports. ");
SendClientMessage(playerid, red, "/Cars To Open The Vehicle Menu. ");
SendClientMessage(playerid, red, "/Anims To See More About Animations. ");
SendClientMessage(playerid, red, "/Cmds To See More About our Commands. ");
SendClientMessage(playerid, red, "/Website If You Would Like To Visit Our Forums. ");
SendClientMessage(playerid, red, "If You Would Like To Talk More Private ");
SendClientMessage(playerid, red, "You Can PM Your Friends With /PM Followed By Their ID or Nickname. ");
return 1;
}
return 0;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, red, " ~~Rules~~");
SendClientMessage(playerid, red, "Never beg to be an admin! If you would like to be an admin sign up at forums");
SendClientMessage(playerid, red, "Never steal other peoples cars! (Not their wifes either hihi !)");
SendClientMessage(playerid, red, "NEVER deathmatch outside of deathmatch ares, it WILL lead to an kick/bann");
SendClientMessage(playerid, red, "And remember, be nice to people and they will be nice to you! ");
return 1;
}
return 0;
}


