Red Circle - Delivering materials
#4

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 ?
Код:
	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
		}
	}
}
Reply


Messages In This Thread
Red Circle - Delivering materials - by Chivava - 30.04.2010, 21:43
Re: Red Circle - Delivering materials - by geerdinho8 - 30.04.2010, 21:56
Re: Red Circle - Delivering materials - by Chivava - 30.04.2010, 22:01
Re: Red Circle - Delivering materials - by Chivava - 01.05.2010, 08:13

Forum Jump:


Users browsing this thread: 2 Guest(s)