How to create checkpoint which doesn't appear on the map ? -
bustern - 22.08.2013
So, how to do that ?
Re : How to create checkpoint which doesn't appear on the map ? -
imftb - 22.08.2013
Use Isplayerinrangeofpoint on
Onplayerupdate
Re: Re : How to create checkpoint which doesn't appear on the map ? -
Cypress - 22.08.2013
Quote:
Originally Posted by imftb
Use Isplayerinrangeofpoint on
Onplayerupdate
|
Another thing which could work, I've seen somewhere checkpoints made by objects and there should be an include somewhere. Will edit as soon as I find it..
Might be pickups, not sure.
EDIT: And tada,
here it is.. You can make them to not be visible on map.
Re: How to create checkpoint which doesn't appear on the map ? -
bustern - 22.08.2013
I found object ID 1317, but its white checkpoint
, if someone can help, write here please.
Re: How to create checkpoint which doesn't appear on the map ? -
Cypress - 22.08.2013
Quote:
Originally Posted by bustern
I found object ID 1317, but its white checkpoint , if someone can help, write here please.
|
Check my post above mate, it will help you for sure.
Re : How to create checkpoint which doesn't appear on the map ? -
imftb - 22.08.2013
Ok.
A another way if you want that someting happens to player when he grab the checkpoint you can use this.
just an exemple
Quote:
public CustomPickups()
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new string[128];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerPos(i, oldposx, oldposy, oldposz);
new tmpcar = GetPlayerVehicleID(i);
if (IsPlayerInRangeOfPoint(i, 2, 350.2929,178.6249,1014.1875) || IsPlayerInRangeOfPoint(i, 2, 350.6007, 177.6201, 1018.9766) || IsPlayerInRangeOfPoint(i, 2, 2487.8984,2397.2175,4.2109) || IsPlayerInRangeOfPoint(i, 2, 2488.5178,2397.2905,10.8203) || IsPlayerInRangeOfPoint(i, 2, 1283.9352,-788.6283,1084.0078) || IsPlayerInRangeOfPoint(i, 2, 2460.2573,2316.7065,91.6300) || IsPlayerInRangeOfPoint(i, 2, -1968.7019,324.7651,1552.1387))
{
GameTextForPlayer(i, "~r~ tapez /ascenseur", 3000, 3);
}
}
}
}
|
Re: How to create checkpoint which doesn't appear on the map ? -
bustern - 22.08.2013
Thx you Cypress, +rep for you
If someone knows another way withour this include, tell me
Re: How to create checkpoint which doesn't appear on the map ? -
bustern - 23.08.2013
Bump
Re: How to create checkpoint which doesn't appear on the map ? -
JaKe Elite - 23.08.2013
Yes you can create one without include.
Create a object (Object which is checkpoint shape), Change it's material color to color red or anything.
Check if player is in the range of point in the object position.
Re: How to create checkpoint which doesn't appear on the map ? -
bustern - 23.08.2013
How to change color of this object to red ?
CreateObject(1317, 1557.57654, -1578.82861, 12.54700, 0.00000, 0.00000, 0.00000);