WTF spawning probs
#1

pawn Код:
new Float:HunterY = 2052.2607421875; //under ongamemodeinit
    new Float:Bike1Y = 677.21417236328;
    new Float:Bike2Y = 733.42407226563;
    new count;
    for(count = 0; count <=16; count++) //Creates Hunters for cops
    {
        AddStaticVehicleEx(425, 308.27801513672, HunterY, 18.491624832153, 270, -1, -1, 60); //0
        HunterY -= 5;
    }
    for(count = 0; count <=8; count++) // Creates Mountain bikes for criminals
    {
        AddStaticVehicleEx(510, 1944.5133056641, Bike1Y, 10.516154289246, 0.000000, -1, -1, 60); //1
        AddStaticVehicleEx(510, 1944.5126953125, Bike2Y, 10.516154289246, 180, -1, -1, 60); //2
        Bike1Y -= 1;
        Bike2Y -= 1;
    }
That's my code. Only one bike appears on each side and the hunter does not spawn at all. Not the first time I've had this issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)