09.01.2017, 17:17
Estб dando uns erros doideras aqui sera que alguem pode me ajudar ? os erros estгo no cmd de payday estб todos ai..
PHP код:
: error 004: function "@PayDay" is not implemented
) : warning 235: public function lacks forward declaration (symbol "@Payday")
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
PHP код:
@Payday()
{
if(Player[i][pVip] >= 1)
{
new var10[128], salario;
SendClientMessage(i, 0xFFFFFFFF, " ");
SendClientMessage(i, TEXTO, "{00FF7F}|-------------{00FF7F}[ PAGAMENTO POR HORA ]{00FF7F}--------------|");
PlayerPlaySound(i,1057,0.0,0.0,0.0);
//if(Player[i][pVip] == 1){salario = SALARIO_VIP; } else {salario = SALARIO; }
SendClientMessage(i, 0xFFFFFFFF, var10);
format(var10, 1000000, "{FFFAFA}Salбrio:{FFFAFA} R$%d", salario);
SendClientMessage(i, 0xFFFFFFFF, "{6495ED}Vocк recebeu +3 de level.");
GivePlayerMoney(i, salario);
SetPlayerScore(i, GetPlayerScore(i) + 3);
SendClientMessage(i, 0xFFFFFFFF, var10);
format(var10, 256, "{FFFAFA}Level [%d]", GetPlayerScore(i));
SendClientMessage(i, 0xFFFFFFFF, var10);
SendClientMessage(i, 0xFFFFFFFF, "|------------------------------------------|");
SalvarPlayer(i);
}
else
{
new var10[128];
PlayerPlaySound(i,1057,0.0,0.0,0.0);
Player[i][pScore] ++;
Player[i][Cash] ++;
Player[i][pDinheiro] += 5000;
Player[i][DelayNick] = 0;
GivePlayerMoney(i,5000);
Player[i][pBanco] += 1000;
SetPlayerScore(i, GetPlayerScore(i) + 1);
SCM(i, COLOR_WHITE, "{FFFAFA}~~~~~~~~~~~~{FFFAFA}[ PAGAMENTO POR HORA ]{FFFAFA}~~~~~~~~~~~~");
format(var10, 256, "{6495ED}Novo Saldo: {6495ED}R$%d", Player[i][pBanco]);
SCM(i, 0xFF4040FF, var10);
SCM(i, COLOR_WHITE, "_______________________________________");
format(var10, 256, "{6495ED}Vocк foi para o level {6495ED}%d!", GetPlayerScore(i));
SCM(i, 0xFF4040FF, var10);
SCM(i, COLOR_WHITE, "_______________________________________");
SCM(i, COLOR_WHITE, "0xFFFFFFFF|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|");
}
return 1;
}