06.01.2012, 20:40
pawn Код:
forward PirateShipMoney();
public PirateShipMoney()
{
for(new i=GetMaxPlayers()-1; i >=0; i--)
{
if(IsPlayerInRangeOfPoint(i,110.9, 2000.6461,1543.8600,13.5859))
GivePlayerMoney(i,250);
SendClientMessage(i,0xFFFFFFFF,"You have Seized Control of the Pirate Ship!");
}
return 1;
}
pawn Код:
SetTimer("PirateShipMoney",5000,true);