Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: gtacheng on May 07, 2019, 07:31 AM

Title: The problem has not been understood.
Post by: gtacheng on May 07, 2019, 07:31 AM
object bump :o
Can't run normally on my server :-[ :-[ :-[ :-[ :-[ :-[

Title: Re: The problem has not been understood.
Post by: gtacheng on May 07, 2019, 07:32 AM
function onObjectBump( object, player )
{
if(object.Model == 6001)
{
player.player.sound(50008)

}
Title: Re: The problem has not been understood.
Post by: NicusorN5 on May 07, 2019, 06:19 PM
use
object.TrackingBumps = true
Title: Re: The problem has not been understood.
Post by: =RK=MarineForce on May 09, 2019, 09:33 AM
what is objectbump lol? xD how its works and what for its works?
Title: Re: The problem has not been understood.
Post by: ysc3839 on May 09, 2019, 10:25 AM
@=RK=MarineForce #3
The underlying functions are SetObjectTouchedReportEnabled/IsObjectTouchedReportEnabled/OnObjectTouched.
So I guess is when player touch the object.
Title: Re: The problem has not been understood.
Post by: gtacheng on May 10, 2019, 05:24 AM
Thank you