04.10.2015, 11:15
Fpunish problem!
ShowStats In Game:
FPunish is 0, not 6.
Код HTML:
ShowStats(playerid, targetid) { printf("FP3: %d", pInfo[targetid][pFPunish]); if(IsPlayerConnected(targetid)) { format(szStats, sizeof(szStats), "Rank: %d | FPunish: %d/60 | FWarn: %d/3", pInfo[targetid][pRank], pInfo[targetid][pRank], pInfo[targetid][pFPunish], pInfo[targetid][pFWarns]); SendClientMessage(playerid, 0xADADADFF, szStats); printf("FP4: %d", pInfo[targetid][pFPunish]); } return 1; }
Код HTML:
FP3: 0 FP4: 0 (0 is right value)
Код HTML:
Rank: 2 | FPunish: 6/60 | FWarn: 0/3