26.03.2013, 07:19
you forgot to close the strings in the two top-snippets for new commands...
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/BR 5", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]FaqahaT_ -Owner/Founder");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Pranesh -Leader");
return 1;
}
if (strcmp("/BR 4", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Robin_Vinci -Executive");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Yahya__ -Executive");
return 1;
}
if (strcmp("/BR 2", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Sarkozy - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Shadow[ITA] - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]RoXy - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Ronnie. - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Rubezz101 - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Gangsta_Pavel - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Ali - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Rat3d_R3o - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]RealCat_ - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Shawn - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Rubezz101 - BR Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Marwan - BR Member");
return 1;
}
if (strcmp("/BR 3", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]ChronicZ - BR Pro Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Tuningstyle[JG] - BR Pro Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Slava_Chernous - BR Pro Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Jamal - BR Pro Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Viper - BR Pro Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Stryker - BR Pro Member");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]RedBuLL - BR Pro Member");
return 1;
}
if (strcmp("/BR 1", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Sento - BR Trial");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Dzean - BR Trial");
SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Ante_Serbedzic - BR Trial");
return 1;
}
return 0;
}