Jump to content

Recommended Posts

Posted

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);

Posted

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.

76561198110915771.pngAddFriend.png

Posted
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 ? 

Posted

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

Posted
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 ? 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.