Fish system(fish at the water)
#6

You can use zones, and then check if the player is in the zone, something like:
(I've never used any of this before but i think you can do something like this)

Code:
#define MAX_FISHINGZONES 50 //replace 50 with how many fishing zones you want as max
new FishingZones[MAX_FISHINGZONES]{//don't realy know how you define this but as i can remeber it's something like this
createzone(bla, bla, bla, bla, float, float, float),//i don't know that command either but I hope you get the point
createzone(bla, bla, bla, bla, float, float, float),
createzone(bla, bla, bla, bla, float, float, float),
createzone(bla, bla, bla, bla, float, float, float),
createzone(bla, bla, bla, bla, float, float, float),
}//and when you have placed them all here you are done with that, on the /fish command you add like
for(new i = 0; i<MAX_FISHINGZONES; i++){
IsPlayerInZone(playerid, FishingZones[i]){
//do the command here :)
}
}
Hope that helped you alot
Reply


Messages In This Thread
Fish system(fish at the water) - by Mikkel_RE - 30.07.2012, 23:34
Re: Fish system(fish at the water) - by Zarky - 30.07.2012, 23:35
Re: Fish system(fish at the water) - by Mikkel_RE - 30.07.2012, 23:36
Re: Fish system(fish at the water) - by Makaveli93 - 30.07.2012, 23:36
Re: Fish system(fish at the water) - by TaLhA XIV - 30.07.2012, 23:37
Re: Fish system(fish at the water) - by Ranama - 31.07.2012, 02:23
Re: Fish system(fish at the water) - by [MM]RoXoR[FS] - 31.07.2012, 03:40
Re: Fish system(fish at the water) - by Jermi - 31.07.2012, 05:46

Forum Jump:


Users browsing this thread: 1 Guest(s)