26.02.2010, 06:53
pawn Код:
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))
{
SetTimer("ShipEarn", 3000, true);
}
return 1;
}
forward ShipEarn(playerid);
public ShipEarn(playerid)
{
GivePlayerMoney(playerid, 50);
return 1;
}