Random team spawns!
#4

Here are stocks & Skins for police

PHP код:
new Float:RandomSpawnPolice[][] =
{
    {
2264.5823,2444.3086,10.8203,359.9533},
    {
2239.0381,2449.3228,11.0372,273.6409},
    {
2247.6023,2475.4460,10.8203,176.1515},
    {
2297.1189,2445.5356,3.2734,268.1237},
    {
2294.8137,2472.1870,-7.4531,354.3931},
    {
2234.7034,2457.3052,-7.4531,266.9514}
};
stock PoliceTeam(skinid)
{
    
// includes corrupt cops from singleplayer, SWAT, FBI and Army skin and 0.3.7 cop ones
    
switch(skinid)
    {
        case 
280..281282..283284..288300..301302..306: return 1;
        default: return 
0;
    }
    return 
1;
}
new 
Float:RandomSpawnSWAT[][] =
{
    {
1308.6097,1257.8893,10.8203,359.7846},
    {
1319.5581,1254.1016,10.8203,5.7158},
    {
1331.1968,1258.5696,10.8203,12.0047},
    {
1347.6495,1258.5513,10.8203,322.5380},
    {
1319.0024,1252.2576,14.2656,359.9701},
    {
1290.1794,1259.1654,10.8203,33.1432}
};
stock SWAT(skinid)
{
    switch(
skinid)
    {
        case 
285: return 1;
        default: return 
0;
    }
    return 
1;
}
new 
Float:RandomSpawnCIA[][] =
{
    {
2531.5835,2351.7695,4.2109,3.6471},
    {
2534.0068,2384.0269,4.2109,176.6296},
    {
2496.5671,2397.1416,4.2109,270.9034},
    {
2490.3596,2397.8206,10.8203,271.1319},
    {
2355.5044,1004.9908,10.8203,91.7737}
};
stock CIA(skinid)
{
    switch(
skinid)
    {
        case 
165..166: return 1;
        default: return 
0;
    }
    return 
1;
}
stock FBII(skinid)
{
    switch(
skinid)
    {
        case 
286: return 1;
        default: return 
0;
    }
    return 
1;
}
new 
Float:RandomSpawnArmy[][] =
{
    {
344.8889,2031.5403,22.6406,185.6785},
    {
343.4230,1980.5894,17.6406,96.5288},
    {
284.8153,1935.0155,17.6406,271.4122},
    {
284.2866,1973.3947,17.6406,276.4574}
};
stock Army(skinid)
{
    switch(
skinid)
    {
        case 
287: return 1;
        default: return 
0;
    }
    return 
1;

Reply


Messages In This Thread
Random team spawns! - by Thanks - 30.07.2018, 13:36
Re: Random team spawns! - by Thanks - 30.07.2018, 17:14
Re: Random team spawns! - by Dawkin - 30.07.2018, 17:15
Re: Random team spawns! - by Thanks - 30.07.2018, 17:17
Re: Random team spawns! - by Dawkin - 30.07.2018, 17:21
Re: Random team spawns! - by NaS - 30.07.2018, 17:55
Re: Random team spawns! - by Thanks - 30.07.2018, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)