Jump to content

problem with download function


John Smith

Recommended Posts

Posted

When you spawn (When you join the server, and THEN spawn), the vehicles get downloaded and placed. When you spawn after that, it won't do anything. I supposed that if you die, that the mods are still replaced? (It's a client-side script, so it will work for all players as soon as they join)

PS: If you remove line 60, it will replaced as soon as any player spawns. (And if it wouldn't then it wouldn't matter anyway)

  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

Posted

yeah im using your line and after couple of people were playing,dying reconnecting etc at some point mods stopped to work properly.

temporarily i have added a command which manually loads the mods but im using the code which is above,and its now not working even if i kill myself 1000 times

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

560x95_FFFFFF_FF9900_000000_000000.png

Posted (edited)

the problem was always succcessfully reproduced by downloading the files and after finishing,reconnecting.

this is code's look now

i havent touched anything of your code except dxdrawtext function and there are no conflicts with other resources.

Edited by Guest

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

560x95_FFFFFF_FF9900_000000_000000.png

Posted

thanks, it seems to work now

but im having 2 probs and not sure how to deal with them

    --weapons 
    {"txd", "mods/m4.txd", 31}, 
    {"dff", "mods/m4.dff", 31}, 
    {"txd", "mods/sniper.txd", 34}, 
    {"dff", "mods/sniper.dff", 34}, 

weapon models dont get replaced

and what can i do if someone fails to download a specific file?is there a way how i can reset the download for specific file for the specific person whose download failed?

sorry if im asking too much questions.. i just have no idea how to fix this

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

560x95_FFFFFF_FF9900_000000_000000.png

Posted
    {"txd", "mods/m4.txd", 356}, 
    {"dff", "mods/m4.dff", 356}, 
    {"txd", "mods/sniper.txd", 358}, 
    {"dff", "mods/sniper.dff", 358}, 

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

alright.

thank you Et-win and NightFury/Steve, i hope that will work out.

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

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