I am facing a big problem i add custom weapons in svr when i use the custom weapons i always get auto kick
Custom weapon doesn't do that.
Some error in your script.
Is any weapon disallowed on your server?
no weapon is disable
check onWeaponChange
Maybe it is "slot" problem.Checking weapon slot in xml files.
there is no function of onWeaponChange
And Miracle How to check slots of weapons every weapon have his own xml file
You wont get kicked from the server for no reason, so it's most certainly your script. Check your console, what does it say? What does it say ingame? Does it just kick you, or do you get a message saying why?
hack ? :D
There are situations when the server kicks a player for 'illegaly aquiring a weapon'. Happened to me from time to time, might just be an internal bug.
Quote from: Finch on Mar 12, 2015, 01:42 PMthere is no function of onWeaponChange
And Miracle How to check slots of weapons every weapon have his own xml file
Slot in filename should be same with slot in xml file. :)
well it say You have been kick from the server
Disconnected
Quote from: Finch on Mar 13, 2015, 08:37 AMwell it say You have been kick from the server
Disconnected
can you show us snapshot
Run the server with -noanticheat parameter.
It happened to me and players few times on my server due to armor change.
I think you set 2 custom weapon with the same type. So the server think you using a hack.
when i get kick on console it say acquired weapon 32
Quote from: Gudio on Mar 13, 2015, 04:09 PMRun the server with -noanticheat parameter.
It happened to me and players few times on my server due to armor change.
^ Mind reading this ?