Jump to content

A question about vehicles :)


Recommended Posts

Posted

I was just wondering if there is anyway to make vehicles not dissapear when you log out? For example my mate makes a car, is there anyway for it to stay there even if he logs out?

Also, anyway for it to stay if I turn the server off??

Thanks :)

Posted

@teteomar: Your reply makes TOTALLY no sense.

@Cook1e: What game mode are you using?

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

There is no function with that name, but there's a function to check if a player is logged in.

getPlayerAccount returns an account element from a player, if he/she is not logged in, it'll return the guest account.

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.

Guest Guest4401
Posted
there's no function called isPlayerLoggedIn which check if the player logged in or not
isGuestAccount getPlayerAccount 

Posted
function Check(player) 
local account = getPlayerAccount ( player ) 
local guest = isGuestAccount ( account ) 
    if account == guest then 
      setElementDimension ( im too lazy FOR the cars TABLE, 5 ) 
     end 
end 
addEventHandler("onResourceStart", getRootElement(), Check) 

sorry that's the best i can do

good luck

:)

F4MZM4.gif

Posted

Can I ask you teteomar to stop replying to what you don't know? that script code makes no sense as most of your posts.

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

Castillo i like to help peoples like you and the others this code not tested and if that code is not alright you can fix it by a little quote

and you made me so sad by the way

F4MZM4.gif

Posted

I know you want to help, but this way you'll confuse them even more, I may be rude, but is the truth.

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

The only way would be editing the Freeroam script.

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

If you don't have any idea about what you need to change, I would investigate first.

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