/fish on a boat - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: /fish on a boat (
/showthread.php?tid=451536)
/fish on a boat -
xClaush55 - 17.07.2013
Hey i wanna make my fishing system that they could /fish on the pier and /fish only on a reefer
How can like do it that /fish will work on certian vehicle can you help me ?
Re: /fish on a boat -
xClaush55 - 17.07.2013
bump help me please
Re: /fish on a boat -
Mitchy - 17.07.2013
You must firstly define the vehicle like:
Reefer1 = CreateVehicle(....);
I'll fetch it from my server and show you.
Re: /fish on a boat -
Mitchy - 17.07.2013
pawn Код:
new FishingReefer;
// under OnGameModeinit
FishingReefer = CreateVehicle(453, -2325.2029, 2296.6379, -0.4600, 181.3483, 1, 1, 60000*10);
FishingLabel[FishingReefer] = Create3DTextLabel( "/fish on the reefer", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
Attach3DTextLabelToVehicle(FishingLabel[FishingReefer], FishingReefer, 0.0, 0.0, 2.0);
pawn Код:
// then get the vehicle position and if it is in the range of the reefer of 1 meter.
Re: /fish on a boat -
xClaush55 - 17.07.2013
And what positon should i put for the command /fish on the Game mode What is the cords of it ?