KoBBy Posted January 15, 2018 Report Share Posted January 15, 2018 (edited) Rezolvat, cer T/C. Edited January 15, 2018 by KoBBy Link to comment Share on other sites More sharing options...
0 Razvan Eternity Posted January 15, 2018 Report Share Posted January 15, 2018 4 hours ago, KoBBy said: Am incercat sa bag sistemul Click in GM Burned, dar imi da aceste erori. (11420) : error 035: argument type mismatch (argument 2) (11437) : error 035: argument type mismatch (argument 2) (33227) : error 025: function heading differs from prototype (33227) : error 025: function heading differs from prototype Liniile: case DIALOG_LOGIN2: { if(!response) return Kick(playerid); if(strlen(inputtext)) { new tmppass[64]; mysql_real_escape_string(inputtext, tmppass); OnPlayerLogin(playerid,MD5_Hash(tmppass)); // linia problema } /// case DIALOG_LOGIN3: { if(!response) return Kick(playerid); if(strlen(inputtext)) { new tmppass[64]; mysql_real_escape_string(inputtext, tmppass); OnPlayerLogin(playerid,MD5_Hash(tmppass)); // ljnia problema } /// function OnPlayerLogin(playerid,password[]) { // Linia problema new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); new qstr[100]; new result[456]; format(qstr,100,"SELECT * FROM users WHERE `name`='%s' AND `password`='%s'",playername2,password); mysql_query(SQL,qstr); mysql_store_result(); if(mysql_num_rows() > 0) { if(mysql_retrieve_row()) { GameTextForPlayer(playerid, "~y~Loading account...", 20000, 4); PlayerTextdraws(playerid); case DIALOG_LOGIN2: { if(!response) return Kick(playerid); if(strlen(inputtext)) { OnPlayerLogin(playerid, inputtext); } /// case DIALOG_LOGIN3: { if(!response) return Kick(playerid); if(strlen(inputtext)) { OnPlayerLogin(playerid, inputtext); } Link to comment Share on other sites More sharing options...
0 KoBBy Posted January 15, 2018 Author Report Share Posted January 15, 2018 Acum 56 minute, RazvaN. a spus: case DIALOG_LOGIN2: { if(!response) return Kick(playerid); if(strlen(inputtext)) { OnPlayerLogin(playerid, inputtext); } /// case DIALOG_LOGIN3: { if(!response) return Kick(playerid); if(strlen(inputtext)) { OnPlayerLogin(playerid, inputtext); } Am rezolvat problema, acum cand intru pe server, dau login si dupa imi apare protocolul de inregistrare. Link to comment Share on other sites More sharing options...
Question
KoBBy
Rezolvat, cer T/C.
Edited by KoBByLink to comment
Share on other sites
2 answers to this question
Recommended Posts