robbery
#3

ok i find it change what i have to change in it

if(gtime == 0)
{
for(new i = 0; i < MAX_ROB_CHECKPOINT; i++)
{
if(checkpointData[i][storeOwner] != -1 && checkpointData[i][storeOwner] != 0)
{
new mny[10], File:file, fmt[56];
format(fmt, 256, "storeowner/%d.money", i);
checkpointData[i][storeMoney] += checkpointData[i][highestCash];
if(checkpointData[i][storeMoney] > 200000)
checkpointData[i][storeMoney] = 200000;
file = fopen(fmt, io_write);
format(mny, 10, "%d", checkpointData[i][storeMoney]);
fwrite(file, mny);
fclose(file);
}
}
}
return 1;
Reply


Messages In This Thread
robbery - by KNIGHT786 - 21.12.2016, 07:39
Re: robbery - by X337 - 21.12.2016, 08:35
Re: robbery - by KNIGHT786 - 21.12.2016, 08:39
Re: robbery - by X337 - 21.12.2016, 08:45
Re: robbery - by KNIGHT786 - 21.12.2016, 08:51
Re: robbery - by KNIGHT786 - 28.12.2016, 19:05
Re: robbery - by iLearner - 28.12.2016, 22:14

Forum Jump:


Users browsing this thread: 3 Guest(s)