17.01.2011, 19:23
Hey guys. can I have some help please?
The problem is that even if I'm at the coordiantes it still says: You're not at the fishing place
I guess I'm failing somewhere again.
pawn Код:
COMMAND:fish(playerid,params[])
{
if(!IsPlayerInRangeOfPoint(playerid == 7,2941.1365,-2051.7290,3.5480,269.1705)) return SendClientMessage(playerid,COLOR_DARKORANGE,"You're not at the fishing place");
if(fishprogress[playerid] > 0) return SendClientMessage(playerid,COLOR_DARKORANGE,"You're already doing this job!");
else
fishprogress[playerid] = 1;
SendClientMessage(playerid,COLOR_DARKORANGE,"You've started your fishing job. Take a boat and go to the checkpoints!");
SetPlayerCheckpoint(playerid,3019.4819,-1259.1970,0.8884,315.4811);
return 1;
}
I guess I'm failing somewhere again.