Se7en_Days Posted April 20, 2021 Report Share Posted April 20, 2021 Yo, noroc la toata lumea, am o problema de cateva zile pe care nu o pot rezolva, nu prea imi dau seama. Problema este legata de cache_get_value_name_int, mentionez din nou ca folosesc MySQL 41-4. Eroarea primita este: warning 202: number of arguments does not match definition Codul respectiv: PlayerInfo[playerid][pSQLID] = cache_get_value_name_int(0, "ID"); Am definit PlayerInfo, pSQLID... Nu inteleg ce ar mai trebui sa pun la al treilea argument sau daca gresesc cu altceva. Orice raspuns sau propunere este bine-venita! Quote Link to comment Share on other sites More sharing options...
NERS Posted April 20, 2021 Report Share Posted April 20, 2021 In versiunile MySQL cu cache get value name, ultimul argument este variabila in care stochezi valoarea din baza de date. Deci faci asa: cache_get_value_name_int(0, "ID", PlayerInfo[playerid][pSQLID]); 1 Quote Link to comment Share on other sites More sharing options...
irinelbro69 Posted April 20, 2021 Report Share Posted April 20, 2021 Salut, pune PlayerInfo[playerid][pSQLID] ca al treilea argument. cache_get_value_name_int(0, "ID", PlayerInfo[playerid][pSQLID]); 1 Quote Link to comment Share on other sites More sharing options...
Se7en_Days Posted April 20, 2021 Author Report Share Posted April 20, 2021 Acum 2 minute, NERS a spus: In versiunile MySQL cu cache get value name, ultimul argument este variabila in care stochezi valoarea din baza de date. Deci faci asa: cache_get_value_name_int(0, "ID", PlayerInfo[playerid][pSQLID]); Oke, multumesc muuuuuuuuuult. Acum functioneaza. Apreciez. 1 Quote Link to comment Share on other sites More sharing options...
Se7en_Days Posted April 20, 2021 Author Report Share Posted April 20, 2021 Acum 2 minute, IrinelBro57 a spus: Salut, pune PlayerInfo[playerid][pSQLID] ca al treilea argument. cache_get_value_name_int(0, "ID", PlayerInfo[playerid][pSQLID]); Oke, multumesc muuuuuuuuuult. Acum functioneaza. Apreciez mult ajutorul. Quote Link to comment Share on other sites More sharing options...
Se7en_Days Posted April 21, 2021 Author Report Share Posted April 21, 2021 Se poate inchide topicul. Problema rezolvata. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.