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

To make a custom download system you can use fetchRemote, if you use it client side, it'll only work if you use the same host as the server.

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

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)

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

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.

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

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