23.12.2011, 20:25
Where should i place [pAccount] and how to make the money go to his pAccount (Bank) after he finished the job.
pawn Код:
else if(IsCollectingRubbish[playerid] == 22)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Well Done! your Pay Check was added to your Bank Account of $175");
IsCollectingRubbish[playerid] = 0;
PlayerInfo[playerid][pCash] -= 175;
GivePlayerMoney(playerid, 175);
Gas[tmpcar] = GasMax;
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
}
}
}