05.05.2012, 21:54
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/rules", true))
{
if(IsPlayerConnected(playerid))
{
new sz_msg [ 900 ];
strcat( sz_msg, "1. Any form of Cheating or Hacking is NOT tolerated on StuntNoobZ with a punishment of being permanately banned.\r\n");
strcat( sz_msg, "2. Respect ALL Players, not just the StuntNoobZ Administrators.\r\n");
strcat( sz_msg, "3. Do not overkill players as in don't spawn kill them over and over.\r\n");
strcat( sz_msg, "4. Begging for Administrator Status will only reduce your chances of getting chosen to become one, so don't do it!\r\n");
strcat( sz_msg, "5. No racist, discriminating, or offensive comments towards others.\r\n");
strcat( sz_msg, "6. If you have issues with another player, do not argue with them about it, get assistance from an Administrator, or simply ignore the player.\r\n");
strcat( sz_msg, "7. Enjoy the server and please have a good time for yourself and others around!\r\n");
strcat( sz_msg, "8. The [R] Crew has settled home in StuntNoobZ, so please treat them with respect, as we do not take shit.\r\n");
strcat( sz_msg, "9. Owner: [R]Skriptz\r\n");
ShowPlayerDialog(playerid, RULESDIALOG2, DIALOG_STYLE_MSGBOX, "StuntNoobZ Rules:", sz_msg, "Understood", "");
return 1;
}
}
return 0;
}