Jump to content

respawnVehicle bug


Castillo

Recommended Posts

Posted

hey, i made a script that when you exit a vehicle it sets a timer and when you enter it kills it but the problem is this, all working fine but i'm using mabako's spray script and when he enters garage changes color etc it won't respawn, i have tryed setting colour via admin panel and that has no problem.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
hey, i made a script that when you exit a vehicle it sets a timer and when you enter it kills it but the problem is this, all working fine but i'm using mabako's spray script and when he enters garage changes color etc it won't respawn, i have tryed setting colour via admin panel and that has no problem.

I think it's because the name of vehicle changes in there, not sure tough :/

Posted
hey, i made a script that when you exit a vehicle it sets a timer and when you enter it kills it but the problem is this, all working fine but i'm using mabako's spray script and when he enters garage changes color etc it won't respawn, i have tryed setting colour via admin panel and that has no problem.

I think it's because the name of vehicle changes in there, not sure tough :/

what do you mean with "name"?? how can change the name of the vehicle O_o

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

edit mabako script and check what is it doing.. probably its not the same car anymore.

ignore Fabio's reply as he dont know much about scripting

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted
edit mabako script and check what is it doing.. probably its not the same car anymore.

ignore Fabio's reply as he dont know much about scripting

thats what i did when i found this but but this just uses setVehicleColor function, i suposed it was destroying my car and creating new one or something like that but no.

so i just closed all paysprays :P

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...