27.07.2012, 18:40
Hello i want to make my fish system that you can fish near the water, but i dont really know how to make it
if(!strcmp("/fish",cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300,11.8438))
{
SendClientMessage(playerid,0xFFFFFFFF,"You are not near the Fishing Area!");
}
else
{
//Your Code when he is at the fishing area.
}
return 1;
}
COMMAND:fish(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300,11.8438))
{
SendClientMessage(playerid,0xFFFFFFFF,"You are not near the Fishing Area!");
}
else
{
//Your Code when he is at the fishing area.
}
return 1;
}