[help] store maker [pickup help] -
jeffery30162 - 08.07.2012
ok im just going to use pickups instead.. but i need help. i created the business coordinates but i need help making this
Код:
CreateDynamicPickup(1274, 1, x, y, z, 0);
work like this:
Код:
SetPlayerInterior(playerid, ABusinessInteriors[BusType][InteriorID]);
using the ABusinessInteriors[BusType][InteriorID])
with this:
Код:
new ABusinessInteriorExits[][TBusinessType] =
{
{"Dummy", x, y, z},
{"24/7 (Small)", -26.75, -55.75, 1003.6},
{"24/7 (Medium)", -31.0, -89.5, 1003.6},
{"Bar", 502.25, -69.75, 998.8},
{"Barber (Small)", 411.5, -21.25, 1001.8},
{"Barber (Medium)", 418.75, -82.5, 1001.8},
{"Betting shop", 833.25, 7.0, 1004.2},
{"Burger Shot", 363.5, -74.5, 1001.5},
{"Casino (4 Dragons)", 2017.25, 1017.75, 996.9},
{"Casino (Caligula's)", 2234.0, 1710.75, 1011.3},
{"Casino (Small)", 1133.0, -9.5, 1000.7},
{"Clothing (Binco)", 207.75, -109.0, 1005.2},
{"Clothing (Pro)", 207.0, -138.75, 1003.5},
{"Clothing (Urban)", 203.75, -48.5, 1001.8},
{"Clothing (Victim)", 226.25, -7.5, 1002.3},
{"Clothing (ZIP)", 161.5, -92.25, 1001.8},
{"Cluckin' Bell", 365.75, -10.75, 1001.9},
{"Disco (Small)", 492.75, -22.0, 1000.7},
{"Disco (Large)", -2642.0, 1406.5, 906.5},
{"Gym (LS)", 772.0, -3.0, 1000.8},
{"Gym (SF)", 774.25, -49.0, 1000.6},
{"Gym (LV)", 774.25, -74.0, 1000.7},
{"Motel", 2216.25, -1150.5, 1025.8},
{"RC shop", -2238.75, 131.0, 1035.5},
{"Sex-shop", -100.25, -22.75, 1000.8},
{"Slaughterhouse", 933.75, 2151.0, 1011.1},
{"Stadium (Bloodbowl)", -1394.25, 987.5, 1024.0},
{"Stadium (Kickstart)", -1410.75, 1591.25, 1052.6},
{"Stadium (8-Track)", -1396.0, -208.25, 1051.2},
{"Stadium (Dirt Bike)", -1425.0, -664.5, 1059.9},
{"Stripclub (Small)", 1212.75, -30.0, 1001.0},
{"Stripclub (Large)", 1204.75, -12.5, 1001.0},
{"Tattoo LS", -203.0, -24.25, 1002.3},
{"Well Stacked Pizza", 372.25, -131.50, 1001.5}
};
please help me.
im starting by using the filterscript
PPC_Business
Re: [help] store maker [checkpoints help] -
jeffery30162 - 10.07.2012
don't mean to bumb but knowone is answering me. i neeeddddd reallllyy baddd
Re: [help] store maker [checkpoints help] -
Captain_Mani - 10.07.2012
Well you can make some checkpoint or some pickup. And when you go over it, it will take you to that place you wanted (You will have to put the coordinates on the checkpoint/pickup you want to go).
Re: [help] store maker [checkpoints help] -
clarencecuzz - 10.07.2012
https://sampforum.blast.hk/showthread.php?tid=118599
Re: [help] store maker [checkpoints help] -
jeffery30162 - 10.07.2012
ok i know how to make the checkpoint but how do i make it for when you enter the checkpoint and it takes you in the interior, To SHOW A EXIT CHECKPOINT INSIDE THE INTERIOR
Re: [help] store maker [checkpoints help] -
clarencecuzz - 10.07.2012
By following the tutorial I linked in the above post, it SHOULD look something like this:
pawn Код:
stock OnPlayerEnterStreamedCheckpoint(playerid, CPiD)
{
if(CPiD == CPS1)
{
GameTextForPlayer(playerid, "You have entered checkpoint 1!", 3000, 3);
}
if(CPiD == CPS2)
{
GameTextForPlayer(playerid, "You have entered checkpoint 2!", 3000, 3);
SetPlayerPos(playerid, .... //*****
SetPlayerInterior(playerid,.... //*****
}
if(CPiD == CPS3)
{
GameTextForPlayer(playerid, "You have entered checkpoint 3!", 3000, 3);
SetPlayerPos(playerid,....
SetPlayerInterior(playerid,....
}
//ETC...
}
Re: [help] store maker [checkpoints help] -
jeffery30162 - 10.07.2012
OK ILL TRY IT OUT
Re: [help] store maker [checkpoints help] -
jeffery30162 - 10.07.2012
ok im just going to use pickups instead.. but i need help. i created the business coordinates but i need help making this
Код:
CreateDynamicPickup(1274, 1, x, y, z, 0);
work like this:
Код:
SetPlayerInterior(playerid, ABusinessInteriors[BusType][InteriorID]);
using the ABusinessInteriors[BusType][InteriorID])
with this:
Код:
new ABusinessInteriorExits[][TBusinessType] =
{
{"Dummy", x, y, z},
{"24/7 (Small)", -26.75, -55.75, 1003.6},
{"24/7 (Medium)", -31.0, -89.5, 1003.6},
{"Bar", 502.25, -69.75, 998.8},
{"Barber (Small)", 411.5, -21.25, 1001.8},
{"Barber (Medium)", 418.75, -82.5, 1001.8},
{"Betting shop", 833.25, 7.0, 1004.2},
{"Burger Shot", 363.5, -74.5, 1001.5},
{"Casino (4 Dragons)", 2017.25, 1017.75, 996.9},
{"Casino (Caligula's)", 2234.0, 1710.75, 1011.3},
{"Casino (Small)", 1133.0, -9.5, 1000.7},
{"Clothing (Binco)", 207.75, -109.0, 1005.2},
{"Clothing (Pro)", 207.0, -138.75, 1003.5},
{"Clothing (Urban)", 203.75, -48.5, 1001.8},
{"Clothing (Victim)", 226.25, -7.5, 1002.3},
{"Clothing (ZIP)", 161.5, -92.25, 1001.8},
{"Cluckin' Bell", 365.75, -10.75, 1001.9},
{"Disco (Small)", 492.75, -22.0, 1000.7},
{"Disco (Large)", -2642.0, 1406.5, 906.5},
{"Gym (LS)", 772.0, -3.0, 1000.8},
{"Gym (SF)", 774.25, -49.0, 1000.6},
{"Gym (LV)", 774.25, -74.0, 1000.7},
{"Motel", 2216.25, -1150.5, 1025.8},
{"RC shop", -2238.75, 131.0, 1035.5},
{"Sex-shop", -100.25, -22.75, 1000.8},
{"Slaughterhouse", 933.75, 2151.0, 1011.1},
{"Stadium (Bloodbowl)", -1394.25, 987.5, 1024.0},
{"Stadium (Kickstart)", -1410.75, 1591.25, 1052.6},
{"Stadium (8-Track)", -1396.0, -208.25, 1051.2},
{"Stadium (Dirt Bike)", -1425.0, -664.5, 1059.9},
{"Stripclub (Small)", 1212.75, -30.0, 1001.0},
{"Stripclub (Large)", 1204.75, -12.5, 1001.0},
{"Tattoo LS", -203.0, -24.25, 1002.3},
{"Well Stacked Pizza", 372.25, -131.50, 1001.5}
};
Re: [help] store maker [checkpoints help] -
jeffery30162 - 11.07.2012
not tring to bumb. i just need help now