Jump to content

Big bike bug?!


Atti

Recommended Posts

function bike_setupRandomSpawn( ) 
    local bike_vehicleModel = 400 
     
    if not bike_vehicleSpawn then bike_vehicleSpawn = { {x=1, y=1, z=1, r=1} } end 
    local rnd = randInt(1, #bike_vehicleSpawn) 
  
    fadeCamera ( source, true, 2.0 ) 
         
        local playerveh = createVehicle( bike_vehicleModel, bike_vehicleSpawn[rnd].x , bike_vehicleSpawn[rnd].y, bike_vehicleSpawn[rnd].z, 0, 0, bike_vehicleSpawn[rnd].r ) 
    setTimer(spawnPlayer, 500, 1, source, bike_vehicleSpawn[rnd].x , bike_vehicleSpawn[rnd].y, bike_vehicleSpawn[rnd].z+3 )  
    setTimer(warpPlayerIntoVehicle, 1000, 1, source, playerveh ) 
end 
addEventHandler("onPlayerJoin", getRootElement(), bike_setupRandomSpawn) 
  

I removed everything that is not necessary. Here's the problem: the player spawns, but after few seconds the game stops refreshing, and all slowly become white (such as with an over-50 gravity). Music continues playing, but tha player can't move.

Such a strange problem... A lot stranger, when i managed to spawn out of my bike (a BMX). Taah-daah! Everithing goes perfect. And when I spawn a BMX with my admin panel and I enter it... 5 second and again that bug!

I dunno if it has been already asked, but I haven't found anything.

Can anyone help me?

Link to comment

I've tried... but i'm spawning at 1,1,1 and also when i try to spawn a BMX from the admin panel it does this bug. :roll:

EDIT: I ask you only one thing. Try it and report me if you get any bugs. I actually CAN'T cycle in MTA, i always get this crash. It takes only 5 minutes, plz try it!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...