Posts: 340
Threads: 189
Joined: Apr 2014
Reputation:
0
Ok, so i have an dyamic mysql ATM system... the problem is:
- The player is able to destroy the object (with guns or vehicle) and the object will destroy.... but the text3d remain
how can i give infinite hp to an object , or make him non-breakable?
Posts: 1,241
Threads: 67
Joined: Dec 2013
If you mean ATM Objects, Then you can't, In my server I have the same issues.
Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
Use another objects around it to solid it. Tested and works fine for my system.
Posts: 1,241
Threads: 67
Joined: Dec 2013
Use invisble Objects around it.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
What also may work (for guns at least) is detecting when those objects get shot in OnPlayerWeaponShot (BULLET_HIT_TYPE_OBJECT, with hitid being objectid), then quickly destroying them and recreating them. Perhaps punish player accordingly.
Posts: 38
Threads: 8
Joined: Jul 2014
Reputation:
0
I think you have to set the object like if someoone maybe destroyed it then in 1 sec it will again teleport over there.