Rouzbeh Posted April 5, 2016 Posted April 5, 2016 hi sometimes giveweapon not sysnce for all players and players doesn't get damage... for example player 1 shoot player 2 with deagle but player 2 not damage and see player 1 boxing with free hands! sometimes is okay and sometimes bug! whats the problem?!
[PXG]Blue Posted April 5, 2016 Posted April 5, 2016 heard of this problem, they only thing i saw fixing it was was switching weapons, that usually synced it.
Ab-47 Posted April 5, 2016 Posted April 5, 2016 Are you using giveWeapon() via triggering a server event? Try using a loop to get all the players in-game and use the giveWeapon function according to the loop variable. Like for k, players in pairs(getElementsByType("player")) do giveWeapon(players, ..) end
[PXG]Blue Posted April 6, 2016 Posted April 6, 2016 Are you using giveWeapon() via triggering a server event? Try using a loop to get all the players in-game and use the giveWeapon function according to the loop variable. Like for k, players in pairs(getElementsByType("player")) do giveWeapon(players, ..) end he isnt looking to give all players weapons, he has problems that the weapon isnt synced between players
[PXG]Blue Posted April 6, 2016 Posted April 6, 2016 Are you using giveWeapon() via triggering a server event? Try using a loop to get all the players in-game and use the giveWeapon function according to the loop variable. Like for k, players in pairs(getElementsByType("player")) do giveWeapon(players, ..) end he isnt looking to give all players weapons, he has problems that the weapon isnt synced between players
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now