#include <a_samp>
#include <Streamer>
new WarHouse1;
new WarHouse2;
new WarHouse3;
new ExWarHouse1;
new ExWarHouse2;
new ExWarHouse3;
new RoyalCasino;
new ExRoyalCasino;
new PinkCasinoLVPD;
new ExPinkCasinoLVPD;
public OnGameModeInit()
{
WarHouse1 = CreateDynamicCP(1228.239990,182.513992, 20.278369,1.0);
WarHouse2 = CreateDynamicCP(2801.729736,2574.841796, 10.820312,1.0);
WarHouse3 = CreateDynamicCP(2847.195312,983.677795, 10.750000,1.0);
ExWarHouse1 = CreateDynamicCP(1293.349609,5.497305, 1001.009338,1.0);
ExWarHouse2 = CreateDynamicCP(1292.349609,5.497305, 1001.009338,1.0);
ExWarHouse3 = CreateDynamicCP(1294.349609,5.497305, 1001.009338,1.0);
RoyalCasino = CreateDynamicCP(2089.083251,1515.569213, 10.820312,1.0);
ExRoyalCasino = CreateDynamicCP(1132.039428,-15.154042, 1000.679687,1.0);
PinkCasinoLVPD = CreateDynamicCP(2017.4207,1103.3944,10.8203,1.0);
ExPinkCasinoLVPD = CreateDynamicCP(1134.039428,-15.154042, 1000.679687,1.0);
}
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == WarHouse1)
{
SetPlayerInterior(playerid, 18);
SetPlayerPos(playerid, 1302.519897,-1.787510,1001.028259);
SendClientMessage(playerid,-1," Welcome To WarHouse");
}
if(checkpointid == WarHouse2)
{
SetPlayerInterior(playerid, 18);
SetPlayerPos(playerid, 1302.519897,-1.787510,1001.028259);
SendClientMessage(playerid,-1,"Welcome To WarHouse");
}
if(checkpointid == WarHouse3)
{
SetPlayerInterior(playerid, 18);
SetPlayerPos(playerid, 1302.519897,-1.787510,1001.028259);
SendClientMessage(playerid,-1,"Welcome To WarHouse");
}
if(checkpointid == RoyalCasino)
{
SetPlayerInterior(playerid, 12);
SetPlayerPos(playerid, 1118.8878, -10.2737, 1002.0859 );
SendClientMessage(playerid,-1,"Welcome To RoyalCasino");
}
if(checkpointid == PinkCasinoLVPD)
{
SetPlayerInterior(playerid, 12);
SetPlayerPos(playerid, 1118.8878, -10.2737, 1002.0859);
SendClientMessage(playerid,-1,"You Are Left RoyalCasino");
}
return 1;
}
public OnPlayerLeaveDynamicCP(playerid, checkpointid)
{
if(checkpointid == ExPinkCasinoLVPD)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2019.1819,1100.4955,10.8203);
SendClientMessage(playerid,-1,"You Are Left PinkCasino");
}
if(checkpointid == ExRoyalCasino)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2084.7068,1518.6965,10.8203);
SendClientMessage(playerid,-1,"You Are Left RoyalCasino");
}
if(checkpointid == ExWarHouse1)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1229.8677,186.0084,19.7882);
SendClientMessage(playerid,-1,"You Are Leave WarHouse");
}
if(checkpointid == ExWarHouse2)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2798.7227,2578.1279,10.8203);
SendClientMessage(playerid,-1,"You Are Leave WarHouse");
}
if(checkpointid == ExWarHouse3)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2843.9067,983.8740,10.7500);
SendClientMessage(playerid,-1,"You Are Leave WarHouse");
}
return 1;
}
Try using different virtual worlds for each warhouse/casino? I'm honestly confused on what you're trying to do.
|
dude it's a basic knowledge that you can't see more the 1 check point on your screen , SAMP blocked that abilty , he can make pickups or i don't know but he can't make three Checkpoints so close, and believe me i'm sure.
|
He is using a streamer. He can use as much as checkpoints as he wants with a streamer.
https://sampforum.blast.hk/showthread.php?tid=102865 |
Checkpoints are asynchronous, meaning only one can be shown at a time.
Samp wiki:
Код:
Checkpoints are asynchronous, meaning only one can be shown at a time. |
Checkpoints are asynchronous, meaning only one can be shown at a time. To 'stream' checkpoints (only show them when players are close enough), use a checkpoint streamer. |