16.02.2009, 00:58
public OnPlayerCommandText(playerid, cmdtext[] )
{
if (strcmp(cmdtext, "/commands", true) == 0)
{
SendClientMessage(playerid, 0xEFEFF7AA, "List of Commands: /rules /gunnerzisawesome");
return 1;
}
if (strcmp(cmdtext, "/rules", true) == 0)
{
SendClientMessage(playerid, 0xEFEFF7AA, "This would be the rules.");
SendClientMessage(playerid, 0xEFEFF7AA, "First Rule: You do not talk about Fight Club");
SendClientMessage(playerid, 0xEFEFF7AA, "Second Rule: You do NOT talk about Fight Club");
SendClientMessage(playerid, 0xEFEFF7AA, "Third Rule: If someone says "Stop" or goes limp, taps out the fight is over.");
return 1;
}
return 0;
}
{
if (strcmp(cmdtext, "/commands", true) == 0)
{
SendClientMessage(playerid, 0xEFEFF7AA, "List of Commands: /rules /gunnerzisawesome");
return 1;
}
if (strcmp(cmdtext, "/rules", true) == 0)
{
SendClientMessage(playerid, 0xEFEFF7AA, "This would be the rules.");
SendClientMessage(playerid, 0xEFEFF7AA, "First Rule: You do not talk about Fight Club");
SendClientMessage(playerid, 0xEFEFF7AA, "Second Rule: You do NOT talk about Fight Club");
SendClientMessage(playerid, 0xEFEFF7AA, "Third Rule: If someone says "Stop" or goes limp, taps out the fight is over.");
return 1;
}
return 0;
}