Marker floating and has no color (Red) -
kiloman3 - 20.12.2012
Код:
CreatePickup(1317, 1, -1600.31, 873.32, 9.23, -1);
Re: Marker floating and has no color (Red) -
eesh - 20.12.2012
they are called checkpoints
CreateDynamicCP();
https://sampforum.blast.hk/showthread.php?tid=102865
Код:
new cp=CreateDynamicCP(....);//just like CreatePickup
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == cp)
{
//your stuff
}
return 1;
}
Re: Marker floating and has no color (Red) -
kiloman3 - 20.12.2012
Okay, now there is nothing showing.
Re: Marker floating and has no color (Red) -
eesh - 20.12.2012
Did you use the plugin?
adding it to server.cfg all that?
Re: Marker floating and has no color (Red) -
ikey07 - 20.12.2012
SetPlayerRaceCheckpoint or SetPlayerCheckpoint should give it red color, had same issues with enter checkpoints, these yellow one, if you have disabled enterexit markers, they wil be white, but if you still use enterexit markers they will be yellow
Re: Marker floating and has no color (Red) -
kiloman3 - 20.12.2012
SetPlayerCheckpoint isn't gonna work in this case.
Re: Marker floating and has no color (Red) -
kiloman3 - 20.12.2012
Quote:
Originally Posted by eesh
Did you use the plugin?
adding it to server.cfg all that?
|
Yes.
Re: Marker floating and has no color (Red) -
kiloman3 - 20.12.2012
This is how it looks, i have only done the sf ones for now but if i go to sf i dont see them
Код:
#include <a_samp>
#include <streamer>
new SFBankEnter;
new SFBankExit;
/*new LBBankEnter;
new LBBankExit;
new FCBankEnter;
new FCBankExit;
new LVBankEnter;
new LVBankExit;
new LSBankOneEnter;
new LSBankOneExit;
new LSBankTwoEnter;
new LSBankTwoExit;
*/
OnFilterScriptInit()
{
SFBankEnter = CreateDynamicCP(-1600.31, 873.32, 9.23, -1);
SFBankExit = CreateDynamicCP(-1600.82, 878.91, -0.59, -1);
LBBankEnter = CreateDynamicCP(-828.42, 1503.94, 19.82, -1);
LBBankExit = CreateDynamicCP(-822.49, 1502.64, 12.21, -1);
FCBankEnter = CreateDynamicCP(-180.43, 1186.59, 19.74, -1);
FCBankExit = CreateDynamicCP(-179.35, 1174.62, 12.22, -1);
LVBankEnter = CreateDynamicCP(2247.38, 2292.88, 10.82, -1);
LVBankExit = CreateDynamicCP(2249.77, 2296.30, 2.41, -1);
LSBankOneEnter = CreateDynamicCP(1481.22, -1772.15, 18.80, -1);
LSBankOneExit = CreateDynamicCP(1473.79, -1780.77, 9.02, -1);
LSBankTwoEnter = CreateDynamicCP(776.45, -1036.18, 24.28, -1);
LSBankTwoExit = CreateDynamicCP(776.70, -1032.99, 14.11, -1);
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == SFBankEnter)
{
SetPlayerPos(playerid, -1601.40, 884.70, -0.59);
}
if(checkpointid == SFBankExit)
{
SetPlayerPos(playerid, -1600.25, 869.04, 9.23);
return 1;
}
return 0;
}
Re: Marker floating and has no color (Red) -
eesh - 20.12.2012
Код:
SFBankEnter = CreateDynamicCP(-1600.31, 873.32, 9.23, 1, -1, -1, -1, 100);
SFBankExit = CreateDynamicCP(-1600.82, 878.91, -0.59, 1, -1, -1, -1, 100);
LBBankEnter = CreateDynamicCP(-828.42, 1503.94, 19.82, 1, -1, -1, -1, 100);
LBBankExit = CreateDynamicCP(-822.49, 1502.64, 12.21, 1, -1, -1, -1, 100);
FCBankEnter = CreateDynamicCP(-180.43, 1186.59, 19.74, 1, -1, -1, -1, 100);
FCBankExit = CreateDynamicCP(-179.35, 1174.62, 12.22, 1, -1, -1, -1, 100);
LVBankEnter = CreateDynamicCP(2247.38, 2292.88, 10.82, 1, -1, -1, -1, 100);
LVBankExit = CreateDynamicCP(2249.77, 2296.30, 2.41, 1, -1, -1, -1, 100);
LSBankOneEnter = CreateDynamicCP(1481.22, -1772.15, 18.80, 1, -1, -1, -1, 100);
LSBankOneExit = CreateDynamicCP(1473.79, -1780.77, 9.02, 1, -1, -1, -1, 100);
LSBankTwoEnter = CreateDynamicCP(776.45, -1036.18, 24.28, 1, -1, -1, -1, 100);
LSBankTwoExit = CreateDynamicCP(776.70, -1032.99, 14.11, 1, -1, -1, -1, 100);
You set -1 for the CP size that must be the problem
Re: Marker floating and has no color (Red) -
kiloman3 - 20.12.2012
Still not showing.