Jump to content

Problema Job #2


angelo034

Recommended Posts

Mda.. iar am intampinat niste probleme si nu stiu cum sa o rezolv....

Am aceste erori.. sa imi ziceti ce trb sa va arat

rpgro.pwn(6514) : warning 211: possibly unintended assignment
rpgro.pwn(6519) : warning 209: function "IsAZburator" should return a value
rpgro.pwn(7630) : error 017: undefined symbol "ZburatorCP"
rpgro.pwn(7630) : warning 215: expression has no effect
rpgro.pwn(7630) : error 001: expected token: ";", but found "]"
rpgro.pwn(7630) : error 029: invalid expression, assumed zero
rpgro.pwn(7630) : fatal error 107: too many error messages on one line

 

     CarJacker[playerid] = 0;                JackAcc[playerid] = 0;
    ZburatorCP[playerid] = 0; - linia 7630

public IsAZburator(carid)
{
    if(carid = zbur[1] || carid == zbur[2] || carid == zbur[3] || carid == zbur[4] || carid == zbur[5])
    {
        return 1;
    }

} - liniile de la 6514 pana la 6519

Link to comment
Share on other sites

La inceputul gamemode-ului pui

new ZburatorCP[MAX_PLAYERS];

iar la final pui

 

public IsAZburator(carid)
{
    if(carid = zbur[1] || carid == zbur[2] || carid == zbur[3] || carid == zbur[4] || carid == zbur[5])
    {
        return 1;
    }

    return 0;

}

  • Upvote 1

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.