if(!dini_Exists(file))
{
SSSShowDialog(playerid, 5401);
return 1;
}
else
{
SSSShowDialog(playerid, 2);
}
stock SSSShowDialog(playerid, dialogid)
{
new string[1024], String[1024], String2[1024], String3[1024], line1[256];
switch(dialogid)
{
case 5401: // Rules Agree
{
format(string, sizeof(string), "Welcome to {00FF00}Europe Gaming Roleplay{FFFFFF} %s!\n\nThe registration process will be as following:\n\nStep 1: Agreement on server rules.\nStep 2: A roleplay test that consists of 5 random questions.\nStep 3: Password selection.\nStep 4: Gender selection.\nStep 5: Age selection.\nStep 6: The tutorial\n\nGood luck!", RPN(playerid));
ShowPlayerDialog(playerid, 5401, DIALOG_STYLE_MSGBOX, "Europe Gaming Roleplay",string, "Continue", "Quit");
}
// Another dialogs that are working correctly.
else if(dialogid == 5401) //welcome
{
if(response)
{
SSSShowDialog(playerid, 5402);
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have chosen to quit the server.");
Kick(playerid);
}
}
SSSShowDialog(playerid, 2);
new string[1024], String[1024], String2[1024], String3[1024], line1[256];
pawn Код:
What are you trying to do with these? pawn Код:
|
case 5402: // RoleplayRules
{
format(String, sizeof(String), "1. Do not use any cheats or hacks, exploits or third party modifications.\n2. Roleplay at all times unless an admin says not to.\n3. Do not metagame.\n4. Do not powergame.\n5. Revenge killing is prohibited.");
format(String, sizeof(String), "%s\n6. Do not steal (ninja-jack) occupied vehicles without any roleplay involved.\n7. Do not use abbrevations in character.\n8. Constantly jumping (bunny-hopping) is prohibited.\n9. Car-surfing is allowed only in pickup trucks (Up to 2 persons in the back).\n10.", String);
format(String, sizeof(String), "%s Do not AFK or alt-tab for longer than 10 minutes.\n11. Do not advertise any sites or server without admin approval.\n12. Flaming or racism is prohibited.\n", String);
format(String2, sizeof(String2), "\n14. Do not use fully capitalized sentences in OOC chat.\n15. Do not spam.\n16. Do not rob or scam players level 1 or 2.\n17. Do not scam over $1000.\n18. A robbery can be performed only by using the /rob command or");
format(String2, sizeof(String2), "%s choosing\nbetween the victim's inventory item/cash.\n19. Do not take out any weapons without any roleplay unless they're scriptly holstered.\n20. IC chat is an english-only chat.\n21. Sexual Harassment without an OOC concensus between both sides is prohibited.\n22.", String2);
format(String3, sizeof(String3), "Do not use celebrity/famous name as character name.\n23. don't transfer money or property from one account to another without an admin's permission.\n");
format(String3, sizeof(String3), "%s24. Do not share your accounts with other people.\n 25. IC fights have to be roleplayed according to the server script/RP fight policy.\n26. Do not attack LEO's if there is less than 3 LEO members online.\n\nBy clicking the ''i agree'' button you agree with our rules.", String3);
format(string, sizeof(string), "%s %s %s", String, String2, String3);
ShowPlayerDialog(playerid, 5402, DIALOG_STYLE_MSGBOX, "Server Rules Agreement (1/7)",string, "I Agree", "I Disagree");
}
case 5402: // RoleplayRules
{
strcat(string, "1. Do not use any cheats or hacks, exploits or third party modifications.\n2. Roleplay at all times unless an admin says not to.\n3. Do not metagame.\n4. Do not powergame.\n5. Revenge killing is prohibited.");
strcat(string, "\n6. Do not steal (ninja-jack) occupied vehicles without any roleplay involved.\n7. Do not use abbrevations in character.\n8. Constantly jumping (bunny-hopping) is prohibited.\n9. Car-surfing is allowed only in pickup trucks (Up to 2 persons in the back).\n10." );
strcat(string, " Do not AFK or alt-tab for longer than 10 minutes.\n11. Do not advertise any sites or server without admin approval.\n12. Flaming or racism is prohibited.\n" );
strcat(string, "14. Do not use fully capitalized sentences in OOC chat.\n15. Do not spam.\n16. Do not rob or scam players level 1 or 2.\n17. Do not scam over $1000.\n18. A robbery can be performed only by using the /rob command or");
strcat(string, " choosing\nbetween the victim's inventory item/cash.\n19. Do not take out any weapons without any roleplay unless they're scriptly holstered.\n20. IC chat is an english-only chat.\n21. Sexual Harassment without an OOC concensus between both sides is prohibited.\n22." );
strcat(string, "Do not use celebrity/famous name as character name.\n23. don't transfer money or property from one account to another without an admin's permission.\n");
strcat(string, "24. Do not share your accounts with other people.\n 25. IC fights have to be roleplayed according to the server script/RP fight policy.\n26. Do not attack LEO's if there is less than 3 LEO members online.\n\nBy clicking the ''i agree'' button you agree with our rules." );
ShowPlayerDialog(playerid, 5402, DIALOG_STYLE_MSGBOX, "Server Rules Agreement (1/7)",string, "I Agree", "I Disagree");
}