01.05.2010, 08:13
Currently my red circle delivering looks alike this, but yet it only disables the red circle and dont deliver the packages / gives any materials for the packages.
and its just underneath public OnPlayerEnterCheckPoint
Anyone out there that can help with this ?
and its just underneath public OnPlayerEnterCheckPoint
Anyone out there that can help with this ?
Код:
else if(IsPlayerInRangeOfPoint(playerid, 2, 2287.7837,-1105.5237,37.9766)) { if (PlayerInfo[playerid][pJob] != 23) { if(MatsHolding[playerid] > 0) { new payout = (25)*(MatsHolding[playerid]); format(string, sizeof(string), "* The Factory Gave You %d Materials from your %d Packages.", payout, MatsHolding[playerid]); SendClientMessage(playerid, COLOR_WHITE, string); PlayerInfo[playerid][pMats] += payout; MatsHolding[playerid] = 0; DisablePlayerCheckpoint(playerid); // marker disapears } } }