Money on pirate ship SOLVED
#8

Might not work, but might work at the same time
Try it
pawn Код:
//Above main
new GiveTimer;

public OnPlayerSpawn(playerid)
{
  SetTimer("CheckShip", 1000, true);
  return 1;
}

forward CheckShip(playerid);
public CheckShip(playerid)
{
  if(IsPlayerInRangeOfPoint(playerid, 20.0, 2000.6755,1543.2694,13.5859))
  {
    GiveTimer = SetTimer("ShipEarn", 3000, true);
  }
  else
  {
    KillTimer(GiveTimer);
  }
  return 1;
}

forward ShipEarn(playerid);
public ShipEarn(playerid)
{
  GivePlayerMoney(playerid, 50);
  return 1;
}
Reply


Messages In This Thread
Money on pirate ship SOLVED - by bartje01 - 26.02.2010, 06:29
Re: Money on pirate ship - by bajskorv123 - 26.02.2010, 06:53
Re: Money on pirate ship - by Babul - 26.02.2010, 06:53
Re: Money on pirate ship - by bajskorv123 - 26.02.2010, 06:57
Re: Money on pirate ship - by [HiC]TheKiller - 26.02.2010, 07:04
Re: Money on pirate ship - by Babul - 26.02.2010, 07:11
Re: Money on pirate ship - by bartje01 - 26.02.2010, 16:23
Re: Money on pirate ship - by bajskorv123 - 26.02.2010, 16:31
Re: Money on pirate ship - by bartje01 - 26.02.2010, 17:10
Re: Money on pirate ship - by VonLeeuwen - 26.02.2010, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)