14.09.2009, 20:46
Lol, it isnt bug, i didnt found.
But i have problem, a diaglog![Sad](images/smilies/sad.gif)
But i have problem, a diaglog
![Sad](images/smilies/sad.gif)
![](http://www.upload.ee/image/192415/sa-mp-001.png)
if(dialogid == 2) { if(!response) return 0; // If you cancel this callback stops new cmdtext[256]; new tmp[256]; new tmppass[64]; if(gPlayerLogged[playerid] == 1) { SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "SERVER: Sa oled juba sees logitud."); return 1; } new idx; tmp = strtok(cmdtext, idx); strmid(tmppass, tmp, 0, strlen(cmdtext), 255); OnPlayerLogin(playerid,tmppass); return 1; }
Originally Posted by JaTochNietDan
Manku,
The "cmdtext" string is unfortunately not defined in OnDialogResponse, please replace all occurences of it with "inputtext". |
if(!inputtext != 0) { SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "You didnt write a password!"); return 1; }