PDA

View Full Version : Checkpoints


Tanush123
03/03/2012, 07:56 PM
I made fishing for my server so this is what i have for locating the fishing area.

CMD:fishloc(playerid,params[])
{
TogglePlayerDynamicCP(playerid,fishingloc,1);
SCM(playerid,Niceyellow,"Follow the red checkpoint in your mini map for the fishing destination");
return 1;
}

How can i make if player is near fishingloc2, it will set the checkpoint to that fishing area. Or If the player is near fishingloc1, it will set the checkpoint to that fishing area?