Would this be possible
#1

So i have an idea for my server, what it does is creates a red line on the minimap going from your pickup destination to your unload destination, On a server i play i saw that they created there islands on the minimap with gangzones, showing bridges and a fair idea of the island area. So i was wonder if it would be possible when a player starts a missions, it sets a little red gangzone from checkpoint to checkpoint. then when the player finishs the mission the checkpoint gets disabled.

Heres a photo of it.
Reply
#2

You could use SetPlayerCheckpoint, and OnPlayerEnterCheckpoint. And DisablePlayerCheckpoint to disable them.
Reply
#3

Quote:
Originally Posted by scripter1
Посмотреть сообщение
Yeh, i am aware of being able to disable/show gang zones, but would it be possible to set one from a checkpoint to checkpoint?

I use a trucking include for my missions, so i'm not sure if it would editable to add a gangzone

https://sampforum.blast.hk/showthread.php?tid=182789
Reply
#4

you mean a line of gangzone? as far as i know no only if they at the same X or Y...
maybe with a lot of gangzones but not one
Reply
#5

Just make a thin and large gangzone.
Reply
#6

Thanks for the replies guys, but what kind of functions would i use to set it, i know theres creategangzone etc, but what would i use to check the players pos and set it to the checkpoint, e.g

use like GetPlayerPos(playerid, x,y,z);

then what kind of functions would i use here to find the checkpoint and set a thin gangzone to go there.
Reply
#7

you can't make a thin gangzone... only if its at the same X or Y...
or you can make a lot of little gangzones.. :S
Reply
#8

Quote:
Originally Posted by XePloiT
Посмотреть сообщение
you can't make a thin gangzone... only if its at the same X or Y...
or you can make a lot of little gangzones.. :S
As my server is a pilot server it wont need to be like a GPS, it would just have to be straight to the checkpoint

And you can make a thin gangzone as i'v showed in the picture.
Reply
#9

Quote:
Originally Posted by Hayden_Bruin
Посмотреть сообщение
As my server is a pilot server it wont need to be like a GPS, it would just have to be straight to the checkpoint

And you can make a thin gangzone as i'v showed in the picture.
you don't get me.. they did gangzones but some of them have the same X or Y...
Код HTML:
you can make ----- or  | but not   \  .
                       |            \
                       |             \
my point is that you can't make a slope thin gangzone line only straight
Reply
#10

Quote:
Originally Posted by XePloiT
Посмотреть сообщение
you don't get me.. they did gangzones but some of them have the same X or Y...
Код HTML:
you can make ----- or  | but not   \  .
                       |            \
                       |             \
ah, i get you now, so pretty much impossible as long as i wanted to do this?

pawn Код:
_________
               |
               |
               |
ignore the space
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)