26.03.2012, 05:07
That's the problem, I'm not finding any code with pPayDay, I think this might be the one.
pawn Код:
forward Production();
public Production()
{
new string[128];
foreach (Player, i) {
if(PlayerInfo[i][pPayDay] < 6) {
PlayerInfo[i][pPayDay] += 1;
SendDebugMessage("Production, [pPayday]");
}
if(WantedLevel[i] > 0 && !PlayerInfo[i][pWarrant]) {
WantedLevel[i] --;
format(string, sizeof(string), "Current Wanted Level: %d", WantedLevel[i]);
SendClientMessage(i,COLOR_YELLOW,string);
SendDebugMessage("Production, Wanted Level");
}
}
return 1;
}