Aller au contenu

Photo

No items on client enter?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Buddywarrior

Buddywarrior
  • Members
  • 256 messages
Where can I go to remove what items the player gets when first logging in? I have a script to remove it, but would rather not have them spawn on the player in the firts place.

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
There is a reason we all seem to do this by script.



The reason is that the character creation and item given to the player are handled by the client.



In a multi player game this happens before haks or the module is even loaded so there is no way to stop what is given to the character at creation.



For a single player game I can not remember if it is handled by the package system or the ini system. If it is the package system you would need to modify the package 2da's and place them in a hak. If it is the ini system you can modify the files but I do not remember at the moment if the files are even excepted in Haks.



In short you best bet that is sure to work is to stick with the OnClientEnter script.

#3
Buddywarrior

Buddywarrior
  • Members
  • 256 messages

Lightfoot8 wrote...

There is a reason we all seem to do this by script.

The reason is that the character creation and item given to the player are handled by the client.

In a multi player game this happens before haks or the module is even loaded so there is no way to stop what is given to the character at creation.

For a single player game I can not remember if it is handled by the package system or the ini system. If it is the package system you would need to modify the package 2da's and place them in a hak. If it is the ini system you can modify the files but I do not remember at the moment if the files are even excepted in Haks.

In short you best bet that is sure to work is to stick with the OnClientEnter script.


Thanks! That is exactly what I needed to know..