[CS GO] Bug with glowing
Hello! I try to make weapons entities on the ground glowing. This code works, but for some reason, there is a shift in coordinates and the weapon will spawn high in the sky. (See screenshot).
Spoiler
Code:
void CreateWeapon(int i) //here i create weapon on the map Why can this happen? I just need to get the weapons' entities to shine through the walls.) |
Re: [CS GO] Bug with glowing
I think it would be interesting to see the source of your coordinates.
Btw did you try to comment out DispatchKeyValueVector(index, "origin", spawnWeaponPositions[i]); ? |
Re: [CS GO] Bug with glowing
Quote:
Code:
while (!IsEndOfFile(file) && ReadFileLine(file, buffer, sizeof(buffer))) |
Re: [CS GO] Bug with glowing
Quote:
Did you try this: PHP Code:
|
Re: [CS GO] Bug with glowing
Quote:
|
Re: [CS GO] Bug with glowing
Well with your code no one can see from where you get the positions to spawn your entitys, from GetClientAbsOrigin or Eyeangels or from what , so if you do this "spawnWeaponPositions[spawnWeaponPointCount][2] = StringToFloat(parts[2])-50.0;"
it could be that the entity is spawned under the ground so you will not see it...... |
Re: [CS GO] Bug with glowing
Btw, i have solved the problem. I delete this: RemoveSkin(entity); and add deleting of the glow object to event ItemPickup
|
Re: [CS GO] Bug with glowing
Can you share the code?
|
All times are GMT -4. The time now is 22:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.