How you set dis up.
#1

i don't get it i trying to make a spawn.
Код:
607.5733,1677.1188,6.9922,127.1774,0,0,0,0,0,0); // 
639.1341,1683.4169,7.1875,47.4448,0,0,0,0,0,0); //
one like dis
Код:
{-525.0, -502.0, 26.0, 0.0},
Reply
#2

If you'd be just a liiittle bit more specific, on what your problem is.
Maybe this is what you wanted :
- https://sampwiki.blast.hk/wiki/AddPlayerClass
- https://sampwiki.blast.hk/wiki/SetSpawnInfo
Reply
#3

Quote:
Originally Posted by Nobody3d
Посмотреть сообщение
If you'd be just a liiittle bit more specific, on what your problem is.
Maybe this is what you wanted :
- https://sampwiki.blast.hk/wiki/AddPlayerClass
- https://sampwiki.blast.hk/wiki/SetSpawnInfo
He means making a Random Spawn:

Look try this

pawn Код:
{607.5733,1677.1188,6.9922,127.1774},
    {639.1341,1683.4169,7.1875,47.4448}
Reply
#4

i'm trying to set the Spawn for Trucker

Код:
// Setup spawnlocations for each class (when selecting "Spawn" at class-selection, a random spawnlocation is selected)
new ASpawnLocationsTrucker[][TSpawnLocation] =
{
	{-525.0, -502.0, 26.0, 0.0}, // Fallen Tree Depot
	{-74.7, -1137.5, 4.5, 0.0}, // Flint Trucking Depot
	{1457.0, 975.5, 11.0, 0.0}, // LVA Freight Depot
	{-2136.0, -247.5, 36.5, 270.0}, // Doherty Depot
	{1766.5, -2040.7, 14.0, 270.0}, // El Corona Depot
	{-546.0, 2594.0, 54.0, 270.0}, // Las Payasdas Depot
	{332.0, 900.0, 25.0, 205.0}, // Quarry Top
	{-1575.0, -2724.0, 49.0, 146.0} // Shady Creek Depot
};
Reply
#5

Quote:
Originally Posted by DerickClark
Посмотреть сообщение
i'm trying to set the Spawn for Trucker

Код:
// Setup spawnlocations for each class (when selecting "Spawn" at class-selection, a random spawnlocation is selected)
new ASpawnLocationsTrucker[][TSpawnLocation] =
{
	{-525.0, -502.0, 26.0, 0.0}, // Fallen Tree Depot
	{-74.7, -1137.5, 4.5, 0.0}, // Flint Trucking Depot
	{1457.0, 975.5, 11.0, 0.0}, // LVA Freight Depot
	{-2136.0, -247.5, 36.5, 270.0}, // Doherty Depot
	{1766.5, -2040.7, 14.0, 270.0}, // El Corona Depot
	{-546.0, 2594.0, 54.0, 270.0}, // Las Payasdas Depot
	{332.0, 900.0, 25.0, 205.0}, // Quarry Top
	{-1575.0, -2724.0, 49.0, 146.0} // Shady Creek Depot
};
Just give the full coordinates for your teleports. and i will make it
Reply
#6

Quote:

607.5733,1677.1188,6.9922,127.1774,0,0,0,0,0,0); //

607.5733 - X coordinate
1677.1188 - Y coordinate
6.9922 - Z coordinate
127.1774 - facing angle
0,0 - first weapon (id,ammo)
0,0 - second weapon (id,ammo)
0,0 -third weapon (id,ammo)
you could use this information for https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#7

Код:
AddPlayerClass(32,607.5733,1677.1188,6.9922,127.1774,0,0,0,0,0,0); // 
AddPlayerClass(32,639.1341,1683.4169,7.1875,47.4448,0,0,0,0,0,0); //
Reply
#8

Check out my random spawn tutorial

https://sampforum.blast.hk/showthread.php?tid=162488
Reply
#9

Try this

pawn Код:
{607.5733,1677.1188,6.9922,127.1774},
    {639.1341,1683.4169,7.1875,47.4448}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)