19.08.2015, 13:41
pawn Код:
if (playerData[playerid][spawnHouse] != -1)
{
SpawnInHouse(playerid);
}
else
{
new Float:bX, Float:bY, Float:bZ, Float:bA;
switch(playerData[playerid][playerClass])
{
case CLASS_CIVILIAN:
{
new rand = random(10);
switch(rand)
{
case 0: // Financial (previously Jizzy's)
{
bX = -1885.1152;
bY = 826.8466;
bZ = 35.1728;
bA = 45.0794;
}
case 1: // Train Station
{
bX = -1969.24512;
bY = 137.7370;
bZ = 27.6875;
bA = 89.5652;
}
case 2: // Wang Cars
{
bX = -1955.7535;
bY = 294.0610;
bZ = 41.0471;
bA = 177.5892;
}
case 3: // Opposite Hotel
{
bX = -1761.2441;
bY = 886.1064;
bZ = 25.0859;
bA = 1.1142;
}
case 4: // New Ammunation
{
bX = -2012.8955;
bY = 889.6754;
bZ = 45.4453;
bA = 270.7117;
}
case 5: // Mini games
{
bX = -1559.0730;
bY = 1183.0647;
bZ = 7.1875;
bA = 91.3203;
}
case 6: //Starfish casino LV
{
bX = 2173.1667;
bY = 1994.4059;
bZ = 10.8203;
bA = 91.3762;
}
case 7; //LV bank
{
bX = 2448.3054;
bY = 2340.7205;
bZ = 10.8203;
bA = 91.5412;
}
case 8; // LV strip
{
bX = 2445.3855;
bY = 2026.3270;
bZ = 10.8203;
bA =353.6653;
}
case 9; // starfish casion 2nd LV
{
bX = 2621.5515;
bY = 1824.5719;
bZ = 11.0234;
bA = 87.0062;
}
case 10; // City JOB LV
{
bX = 2415.2249;
bY = 1117.4274;
bZ = 10.8130;
bA = 272.4739;
}
case 11; // Pirates in men paints LV
{
bX = 2002.3481;
bY = 1544.6584;
bZ = 13.5859;
bA = 271.6277;
}
case 12; // LV
{
bX = 2002.3481;
bY = 1544.6584;
bZ = 13.5859;
bA = 271.6277;
}
}
}