}/*
if(!strcmp(cmdtext, "/rules", true))
{
if(IsPlayerConnected(playerid))
{
new message3[] = "\n{AFAFAF}StuntNoobZ Rules:\n1. Any form of Cheating or Hacking is NOT tolerated on StuntNoobZ with a punishment of being permanately banned. \n2. Respect ALL Players, not just the StuntNoobZ Administrators \n3. Do not overkill players as in don't spawn kill them over and over. \n4. Begging for Administrator Status will only reduce your chances of getting chosen to become one, so don't do it! \n5. No racist, discriminating, or offensive comments towards others. \n6. If you have issues with another player, do not argue with them about it, get assistance from an Administrator, or simply ignore the player. \n7. Enjoy the server and please have a good time for yourself and others around! \n8. The [R] Crew has settled home in StuntNoobZ, so please treat them with respect, as we do not take shit. \n9. Owner: [R]Skriptz\n";
ShowPlayerDialog(playerid, RULESDIALOG2, DIALOG_STYLE_MSGBOX, " {FFFF00}StuntNoobZ - Stunting Awesomeness!",message3,"Understood","");
return 1;
}
return 1;
}*/
error 075: input line too long (after substitutions)
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;
}
|
I appreciate the help, it made things a lot smoother and looks much better.
|
You can ask me if you need any help(:|
Glad it helped you, good luck for the rest of the scripting mate
You can ask me if you need any help(:-FalconX |
}
if(!strcmp(cmdtext, "/rules", true))
{
if(IsPlayerConnected(playerid))
{
strcat(string, "{FF6347}Any form of Cheating or Hacking is NOT tolerated on StuntNoobZ with a punishment of a permanent ban.\n");
strcat(string, "{AFAFAF}Respect ALL Players, not just the StuntNoobZ Administrators\n");
strcat(string, "{AFAFAF}Do not overkill players, as in don't spawn kill them over and over.\n");
strcat(string, "{AFAFAF}Begging for Administrator Status will only reduce your chances of getting chosen to become one, so don't do it!\n");
strcat(string, "{AFAFAF}No racist, offensive, or discriminating comments towards one another.\n");
strcat(string, "{AFAFAF}If you have issues with another player, do not argue with them about it, consult an Administrator, or simply just ignore the player.\n");
strcat(string, "{AFAFAF}Please enjoy yourself and allow others to have fun too!\n");
strcat(string, "{AFAFAF}Owner: [R]Skriptz\n");
strcat(string, "{005353}The [R] Crew ( Roam1n ) has settled here in StuntNoobZ, so please treat them with respect just as you would an Administrator, as we do not take shit.\n");
ShowPlayerDialog(playerid, RULESDIALOG2, DIALOG_STYLE_MSGBOX, " {FFFF00}StuntNoobZ - Rules!",string,"Okay","");
return 1;
}
return 1;
}
new string [900];