if(RegistrationStep[playerid] > 0){ if(RegistrationStep[playerid] == 1) { new idx; tmp = strtok(text, idx); if((strcmp(\"fiú\", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen(\"fiu\"))) { PlayerInfo[playerid][pSex] = 1; SendClientMessage(playerid, 0xFFFFFFAA, \"Oké,fiú vagy.\"); ShowPlayerDialog(playerid, 9952, DIALOG_STYLE_LIST, \"Korod?\",\"18\\n19\\n20\\n21\\n22\\n23\\n24\\n25\\n26\\n27\\n28\\n29\\n30\\n31\\n32\\n33\\n34\\n35\\n36\\n37\\n38\\n39\\n40\", \"Elkezd\", \"Mégse\"); new maleskin; maleskin = random(sizeof(CivMalePeds)); SetPlayerSkin(playerid, maleskin); PlayerInfo[playerid][Civilruha1] = maleskin; RegistrationStep[playerid] = 2; return 0; } else if((strcmp(\"lány\", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen(\"lany\"))) { PlayerInfo[playerid][pSex] = 2; SendClientMessage(playerid, 0xFFFFFFAA, \"Oké,lány vagy.\"); ShowPlayerDialog(playerid, 9952, DIALOG_STYLE_LIST, \"Korod?\",\"18\\n19\\n20\\n21\\n22\\n23\\n24\\n25\\n26\\n27\\n28\\n29\\n30\\n31\\n32\\n33\\n34\\n35\\n36\\n37\\n38\\n39\\n40\", \"Elkezd\", \"Mégse\"); new femaleskin; femaleskin = random(sizeof(CivFemalePeds)); SetPlayerSkin(playerid, femaleskin); PlayerInfo[playerid][Civilruha1] = femaleskin; RegistrationStep[playerid] = 2; return 0;[/spoiler]Spoiler for Hiden: //TextDrawShowForPlayer(playerid,lbt); //TextDrawShowForPlayer(playerid,lbb); TextDrawShowForPlayer(playerid,dtrp); gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1; SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid, -254.8342,2603.1379,62.8582); SetPlayerFacingAngle(playerid, 180); TogglePlayerControllable(playerid, 0); RegistrationStep[playerid] = 1; ClearChatbox(playerid, 10); SendClientMessage(playerid, COLOR_YELLOW2, \"{20ff00}Üdvözlünk a szerveren!{20ff00} Kérlek, válaszolj a kérdésekre!\"); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, \"Nemed?!\",\"Fiú\\nLány\", \"OK\", \"mégse\"); Helló! segitségetek kérném behozza a dialogot de ha rákatintok akkkor nem csinál semmit mind a 2 önél Valaki segitene?Dupla hozzászólás automatikusan összefûzve. ( [time]2014. augusztus 23. 12:29:12[/time] )Senki se o.O
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == 9951){if(listitem == 0){PlayerInfo[playerid][pSex] = 1;SendClientMessage(playerid, 0xFFFFFFAA, \"Oké,fiú vagy.\");ShowPlayerDialog(playerid, 9952, DIALOG_STYLE_LIST, \"Korod?\",\"18\\n19\\n20\\n21\\n22\\n23\\n24\\n25\\n26\\n27\\n28\\n29\\n30\\n31\\n32\\n33\\n34\\n35\\n36\\n37\\n38\\n39\\n40\", \"Elkezd\", \"Mégse\");new maleskin;maleskin = random(sizeof(CivMalePeds));SetPlayerSkin(playerid, maleskin);PlayerInfo[playerid][Civilruha1] = maleskin;RegistrationStep[playerid] = 2;}if(listitem == 1){PlayerInfo[playerid][pSex] = 2;SendClientMessage(playerid, 0xFFFFFFAA, \"Oké,lány vagy.\");ShowPlayerDialog(playerid, 9952, DIALOG_STYLE_LIST, \"Korod?\",\"18\\n19\\n20\\n21\\n22\\n23\\n24\\n25\\n26\\n27\\n28\\n29\\n30\\n31\\n32\\n33\\n34\\n35\\n36\\n37\\n38\\n39\\n40\", \"Elkezd\", \"Mégse\");new femaleskin;femaleskin = random(sizeof(CivFemalePeds));SetPlayerSkin(playerid, femaleskin);PlayerInfo[playerid][Civilruha1] = femaleskin;RegistrationStep[playerid] = 2;} }return 1;}
if(dialogid == 9951)
} }
//TextDrawShowForPlayer(playerid,lbt); //TextDrawShowForPlayer(playerid,lbb); TextDrawShowForPlayer(playerid,dtrp); gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1; SetPlayerInterior(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid, -254.8342,2603.1379,62.8582); SetPlayerFacingAngle(playerid, 180); TogglePlayerControllable(playerid, 0); RegistrationStep[playerid] = 1; ClearChatbox(playerid, 10); SendClientMessage(playerid, COLOR_YELLOW2, \"{20ff00}Üdvözlünk a szerveren!{20ff00} Kérlek, válaszolj a kérdésekre!\"); ShowPlayerDialog(playerid, 9951, DIALOG_STYLE_LIST, \"Nemed?!\",\"Fiú\\nLány\", \"OK\", \"mégse\");
//---------------------------<[ OnDialogResponse ]>--------------------------------------------------------public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){new sendername[MAX_PLAYER_NAME];new string[128];//fun2if(dialogid == DIALOG_HARC) {if(response == 1){
C:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3322) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3334) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3338) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3350) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3361) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3365) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3369) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3381) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3385) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(3389) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(5097) : error 004: function \"ProxDetectorS\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(20331) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(20332) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(20333) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(21783) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(22094) : error 004: function \"CrimInRange\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(22562) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(24568) : error 004: function \"PlayerToPoint\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(24924) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(25498) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(25514) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(25525) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(25536) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(25693) : error 004: function \"ProxDetector\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(32227) : error 004: function \"CrimInRange\" is not implementedC:\\Documents and Settings\\Rendszergazda\\Asztal\\1.pwn(35037) : error 004: function \"ProxDetector\" is not implementedCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.