how to get all area croods in an interior ?
#1

hi
im really confused how i can make the checkpoint when player in range of some croods so checkpoint will be on
for example i use sf cnr gamemode
as you can see in these images
when i stand here the checkpoint will be on

and if i stand here it will be disappear

so i want when a player in an interior and interior has a checkpoint if he walk in all over interior so checkpoint dont
disappear
i used many zone maker in game and when i put croods it aint work

sry for my bad english
Reply
#2

You can use incognito's streamer, CreateDynamicCP function.
Reply
#3

as far as i understand you,... you want it so when people enter the betting store (on the picture above)
That is shows a checkpoint, that does not dissapear?

Try:

/save [optional name here]

AddStaticPickup(MARKER ID, X Y Z);

You can try this
Reply
#4

in sf cnr game mode it has
Код:
//Variables
new Float:checkCoords[MAX_POINTS][4] = {
{145.4055,-96.1957,177.4023,-70.9268} //ZipMain  // its for range im sure like if player in range of point , like //when u near these croods that checkpoint will be on and if far it will off
}

new Float:checkpoints[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,1.0}, //ZipMain // and its the checkpoint place 
}
Reply
#5

Quote:
Originally Posted by omidi
Посмотреть сообщение
in sf cnr game mode it has
Код:
//Variables
new Float:checkCoords[MAX_POINTS][4] = {
{145.4055,-96.1957,177.4023,-70.9268} //ZipMain  // its for range im sure like if player in range of point , like //when u near these croods that checkpoint will be on and if far it will off
}

new Float:checkpoints[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,1.0}, //ZipMain // and its the checkpoint place 
}
I got this gamemode and i got the same problem but i know how to fix it and help you , PM me.
Reply
#6

The stream distance is too low for what you're trying to accomplish. Can you post the line of code where the checkpoint is being created?
Reply
#7

i've use this gamemode before. but now i stopped and start developing my own one. as you can see at first time.

so im going to give you a parameter to use this

pawn Код:
#define MAX_POINTS 1 //everytime you add 1 checkpoint you should add the maxpoint define +1
new Float:checkCoords[MAX_POINTS][4] = {
{NorthEast-X,NorthEast-Y,SouthWest-X,SouthWest-Y}
}
new Float:checkpoints[MAX_POINTS][4] = {
{Float: X,Float: Y, Float, Z, CPsize}
{
so you need this box to help you out
Код:
				NORTH
					_________________ Point 2;  - NORTH EAST
					|                |
					|    This is     |
				WEST 	|  the area that | EAST
					|    you want    |
					|   to define!   |
					|________________|
South West - Point 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)