Erros em Profissao :S
#1


Erros :
pawn Код:
ETB.pwn([B]760[/B]) : error: 017: undefined symbol "Playerid"
ETB.pwn([B]761[/B]) : error: 017: undefined symbol "Playerid"
ETB.pwn([B]784[/B]) : warning: 235: public function lacks forward declaration (symbol "PayDay")
ETB.pwn([B]788[/B]) : warning: 202: number of arguments does not match definition
Liinhas:
pawn Код:
[B]760:  [/B]                   PlayerInfo[Playerid][Level] = dini_int(file,"level");
[B]761:[/B]                     PlayerInfo[Playerid][prof] = dini_Int (file,"prof");
[B]784:[/B]                     forward PlayDay(playerid);
                           public PayDay(playerid)
                           {
                           if(Prof[playerid]==PM)// Verifica se e da PROF
                           {
                           GetPlayerMoney(playerid,5000);
                           }
                           return 1;
                           }
[B]788:[/B]                    GetPlayerMoney(playerid,5000);
Reply
#2

Playerid sempre deve ser usado com letra minuscula coloque
pawn Код:
playerid
e Onde estб GetPlayerMoney coloque
pawn Код:
GivePlayerMoney
E na forward estб escri PlayDay troque por
pawn Код:
PayDay
Irб ficar asim:
pawn Код:
PlayerInfo[playerid][Level] = dini_int(file,"level");
PlayerInfo[playerid][prof] = dini_Int (file,"prof");
forward PayDay(playerid);
public PayDay(playerid)
{
    if(Prof[playerid]==PM)// Verifica se e da PROF
    {
        GivePlayerMoney(playerid, 5000);
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)