09.04.2011, 22:30
Quero que quando o respeito de cada player atingir um numero que ele ja possa passar de nivel mostra um aviso ao player no jogo.
Criei uma public desta forma:
Entгo no payday coloquei esta funзгo lб:
Mas ta dando esses erros:
Criei uma public desta forma:
pawn Код:
public Nivel(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pExp] >= PlayerInfo[playerid][pLevel]+1 * levelexp)
{
new string[100];
format(string, sizeof(string), " Vocк tem respeito suficiente para passar de nivel. Digite /adquirirnivel !");
SendClientMessage(playerid,WHITE,string);
return 1;
}
}
return 1;
}
pawn Код:
//RETIREI ALGUMAS LINHAS
}
}
new rand = random(80);
if(rand < 77) { rand += 3; }
SetTimerEx("Lotto", 90000, 0, "d", rand);
Checkprop();
Nivel(playerid); //LINHA 23403
return 1;
}
pawn Код:
(23403) : error 017: undefined symbol "playerid"