ShowPlayerDialog(playerid,20,DIALOG_STYLE_MSGBOX,"Server Rules","Here at Las Venturas Cops And Robbers Roleplay, we enforce our rules at all times.\nThese rules should be followed to prevent being banned, kicked, jail, ECT.\nThe server rules can be found in the command '/rules', but you need to read them before you register.\nNo Random Killing / Hit Contracts / DeathMatching / TeamKilling/ Heli Killing\nNo Hacking / Cheating/ Gitching/ Bugging/ Spamming/ Flaming\nNo Special Effect Cleo Mods. No Shooting Inside The RPL. Don't abuse /votekick.\nRespect other players and administrators. Speak only English in main chat.\nNo Vehicle Ramming At All. Don't say things like 'FUCK YOU' a lot.\nDriver drive by's are NOT allowed. Only Passengers may shoot from the vehicle.\nCivilian(s) may only shoot PD, S.W.A.T. & Army Officers if they are Orange or Red.\nNo disrespectful comments or remarks of any sort. No Advertising.\nThese are just the basic rules, see the full list at www.LasVenturas.Net","Accept", "Reject");
You can split them to 2 dialogs man, Use \n Next Page at the first one
|
// Top of script:
new MyText[1024] = "Here at Las Venturas Cops And Robbers Roleplay, we enforce our rules at all times.\nThese rules should be followed to prevent being banned, kicked, jail, ECT.\nThe server rules can be found in the command '/rules', but you need to read them before you register.\nNo Random Killing / Hit Contracts / DeathMatching / TeamKilling/ Heli Killing\nNo Hacking / Cheating/ Gitching/ Bugging/ Spamming/ Flaming\nNo Special Effect Cleo Mods. No Shooting Inside The RPL. Don't abuse /votekick.\nRespect other players and administrators. Speak only English in main chat.\nNo Vehicle Ramming At All. Don't say things like 'FUCK YOU' a lot.\nDriver drive by's are NOT allowed. Only Passengers may shoot from the vehicle.\nCivilian(s) may only shoot PD, S.W.A.T. & Army Officers if they are Orange or Red.\nNo disrespectful comments or remarks of any sort. No Advertising.\nThese are just the basic rules, see the full list at www.LasVenturas.Net";
// Dialog line:
ShowPlayerDialog(playerid,20,DIALOG_STYLE_MSGBOX,"Server Rules",MyText,"Accept", "Reject");
Try it:
pawn Code:
|
new MyText[1024] = "Here at Las Venturas Cops And Robbers Roleplay, we enforce our rules at all times.\nThese rules should be followed to prevent being banned, kicked, jail, ECT.\n";
strcat(MyText, "The server rules can be found in the command '/rules', but you need to read them before you register.\nNo Random Killing / Hit Contracts / DeathMatching / TeamKilling/ Heli Killing\n");
strcat(MyText, "No Hacking / Cheating/ Gitching/ Bugging/ Spamming/ Flaming\nNo Special Effect Cleo Mods. No Shooting Inside The RPL. Don't abuse /votekick.\nRespect other players and administrators. Speak only English in main chat.\n");
strcat(MyText, "No Vehicle Ramming At All. Don't say things like 'FUCK YOU' a lot.\nDriver drive by's are NOT allowed. Only Passengers may shoot from the vehicle.\n");
strcat(MyText, "Civilian(s) may only shoot PD, S.W.A.T. & Army Officers if they are Orange or Red.\nNo disrespectful comments or remarks of any sort. No Advertising.\n");
strcat(MyText, "These are just the basic rules, see the full list at www.LasVenturas.Net");
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "Server Rules" ,MyText, "Accept", "Reject");
Now on the line that has the message:
G:\SA-MP Shit\Cops And Robbers\gamemodes\CNR.pwn(10 : error 075: input line too long (after substitutions) |
// Top of script
new MyText[1024] = "Here at Las Venturas Cops And Robbers Roleplay, we enforce our rules at all times.\nThese rules should\
be followed to prevent being banned, kicked, jail, ECT.\nThe server rules can be found in the command '/rules', but you\
need to read them before you register.\nNo Random Killing / Hit Contracts / DeathMatching / TeamKilling/ Heli Killing\nNo Hacking\
/ Cheating/ Gitching/ Bugging/ Spamming/ Flaming\nNo Special Effect Cleo Mods. No Shooting Inside The RPL. Don't abuse /votekick.\n\
Respect other players and administrators. Speak only English in main chat.\nNo Vehicle Ramming At All. Don't say things like 'FUCK YOU'\
a lot.\nDriver drive by's are NOT allowed. Only Passengers may shoot from the vehicle.\nCivilian(s) may only shoot PD, S.W.A.T. & Army Officers\
if they are Orange or Red.\nNo disrespectful comments or remarks of any sort. No Advertising.\nThese are just the basic rules, see the full list at\
www.LasVenturas.Net";
// Dialog lialog
ShowPlayerDialog(playerid,20,DIALOG_STYLE_MSGBOX,"Server Rules",MyText,"Accept", "Reject");
Use this:
pawn Code:
|
new MyText[1024] = "Here at Las Venturas Cops And Robbers Roleplay, we enforce our rules at all times.\nThese rules should be followed to prevent being banned, kicked, jail, ECT.\n";
strcat1(MyText, "The server rules can be found in the command '/rules', but you need to read them before you register.\nNo Random Killing / Hit Contracts / DeathMatching / TeamKilling/ Heli Killing\n");
strcat2(MyText, "No Hacking / Cheating/ Gitching/ Bugging/ Spamming/ Flaming\nNo Special Effect Cleo Mods. No Shooting Inside The RPL. Don't abuse /votekick.\nRespect other players and administrators. Speak only English in main chat.\n");
strcat3(MyText, "No Vehicle Ramming At All. Don't say things like 'FUCK YOU' a lot.\nDriver drive by's are NOT allowed. Only Passengers may shoot from the vehicle.\n");
strcat4(MyText, "Civilian(s) may only shoot PD, S.W.A.T. & Army Officers if they are Orange or Red.\nNo disrespectful comments or remarks of any sort. No Advertising.\n");
strcat5(MyText, "These are just the basic rules, see the full list at www.LasVenturas.Net");
D:.
pawn Code:
It should work |
G:\SA-MP Shit\Cops And Robbers\gamemodes\CNR.pwn(114) : error 075: input line too long (after substitutions) G:\SA-MP Shit\Cops And Robbers\gamemodes\CNR.pwn(115) : error 037: invalid string (possibly non-terminated string) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.