Jump to content

download on client


philip1994

Recommended Posts

Posted

how can i make it so, only on when the type a command, they download the client side data, for example if i had a vehicle mod system, they will only download when they type "example" ? thanks in advance.

Posted

Make the load function with triggerClientEvent.

in meta.xml add only the .lua files , after manual downloaded the .dff / txd you simpli call the loading function.

triggerClientEvent(player,"loadMods",player)

Posted

"loadstring" shoud be use when there are no other options , bk to stop the loaded code you need to unload EventHandlers , to do that you need warppers , with warppers you will warp your own EventHandlers to and not only the loadstring one , so there is much more work.

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