Jump to content

warning problems


iReaLx

Recommended Posts

Salut, am niste warrning-uri si nu stiu sa le rezolv.

warning 213: tag mismatch

stock have_apartament(playerid) {
    for(new i = 1; i < 25; i++) {
Aici e primul linia : 16652    if(apartamentInfo[apUser] == PlayerInfo[playerid]) return i;
    }
    return -1;
}

warning 213: tag mismatch

          Linia 16724 :  apartamentInfo[apUser] = PlayerInfo[playerid];
            format(apartamentInfo[apOwner], 32, GetName(playerid));

warning 202: number of arguments does not match definition

Linia: 16731 GetPlayerMoney(playerid, -apartamentInfo[apValue]);

pwn(16806) : warning 202: number of arguments does not match definition

 GetPlayerCash(playerid, -GetPVarInt(playerid, "money"));

pwn(16807) : warning 202: number of arguments does not match definition

GetPlayerCash(id, GetPVarInt(playerid, "money"));

pwn(16809) : warning 213: tag mismatch

apartamentInfo[apUser] = PlayerInfo[playerid];

pwn(16837) : warning 202: number of arguments does not match definition

GetPlayerCash(playerid, 5000000);

Link to comment
Share on other sites

16 minutes ago, Mento said:

Nu e necesara doar o dimensiune, trebuiesc 2 ca la matrici, cam asa ai declarat tu acel PlayerInfo:

 new PlayerInfo[MAX_PLAYERS][pInfo], si tu daca pui doar PlayerInfo[playerid] normal ca-ti da eroare.

Nu inteleg, sunt la inceput...cum as putea face da rezolv toate alea ? 

Link to comment
Share on other sites

45 minutes ago, AlexxAdv said:

Iti lipseste variabila, exact cum a zis mento ai PlayerInfo[playerid] atat, iti lipseste functia gen PlayerInfo[playerid][pAdmin], plevel, pscore, pcash, etc 

Man, tie iti este usor... eu nu stiu sa pun ce spuneti voi acolo, aveti un id discord sa ma ajutati va rog ? 

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.

Guest
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.