Plant
#8

Something like:
pawn Code:
if(IsPlayerInRangeOfPoint(playerid,20.0,WeedInfo[weed][WeedX],WeedInfo[weed][WeedY],WeedInfo[weed][WeedZ])) return SendClientMessage(playerid,-1,"ERROR: You can't plant more weed here.");
Just loop through all the plants and check if the player is in range of any of them.
Reply


Messages In This Thread
Plant - by ZeroCools - 22.02.2013, 10:08
Re: Plant - by ZeroCools - 22.02.2013, 13:40
Re: Plant - by ZeroCools - 23.02.2013, 07:12
Re: Plant - by ZeroCools - 23.02.2013, 17:40
Re: Plant - by ZeroCools - 24.02.2013, 11:32
Re: Plant - by ZeroCools - 24.02.2013, 20:14
Re: Plant - by TrueForYourSelf - 24.02.2013, 20:16
Re: Plant - by tyler12 - 24.02.2013, 20:18
Re: Plant - by ZeroCools - 24.02.2013, 21:01

Forum Jump:


Users browsing this thread: 6 Guest(s)