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); //
{-525.0, -502.0, 26.0, 0.0},
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 |
{607.5733,1677.1188,6.9922,127.1774},
{639.1341,1683.4169,7.1875,47.4448}
// 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 };
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 }; |
607.5733,1677.1188,6.9922,127.1774,0,0,0,0,0,0); // |
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); //
{607.5733,1677.1188,6.9922,127.1774},
{639.1341,1683.4169,7.1875,47.4448}