Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dialog:DIALOG_GENDER(playerid, response){
- if(response){
- new gString[64], string[256];
- mysql_format(SQL, gString, sizeof(gString), "UPDATE `users` SET `gender`='0', `model`='26' WHERE `name`='%s'", GetName(playerid));
- mysql_query(SQL, gString);
- format(string, sizeof(string), ""#COL_SERVER">> "#COL_WHITE"Sex setat: Masculin");
- SCM(playerid, -1, string);
- Dialog_Show(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, ">> Seteaza un E-mail", "Pentru a fi la curent cu tot ce se intampla cu acest server, te rugam sa introduci un e-mail", "Set", "Inchide");
- } else {
- new gString[64], string[256];
- mysql_format(SQL, gString, sizeof(gString), "UPDATE `users` SET `gender`='1', `model`='90' WHERE `name`='%s'", GetName(playerid));
- mysql_query(SQL, gString);
- format(string, sizeof(string), ""#COL_SERVER">> "#COL_WHITE"Sex setat: Feminin");
- SCM(playerid, -1, string);
- Dialog_Show(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, ">> Seteaza un E-mail", "Pentru a fi la curent cu tot ce se intampla cu acest server, te rugam sa introduci un e-mail", "Set", "Inchide");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement