Jump to content

Problema MySQL-41-4


Recommended Posts

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!

Link to comment
Share on other sites

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.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.