Jump to content

Weapon Bug!


Rouzbeh

Recommended Posts

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?!

Link to comment

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 
  

Link to comment
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

Link to comment
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

Link to comment

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