Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Nitro on Jul 22, 2017, 03:31 PM

Title: Spheres are not apearing
Post by: Nitro on Jul 22, 2017, 03:31 PM
hello everyone !!

i'm facing a problem with sphere since last week i try to fix it but failed ...
here is  images
http://imgur.com/a/vHfht
http://imgur.com/a/FrXMZ

that're showing sphere in front of some items that people can buy for their house ...
but problem is that some items front sphere is showing and looks nice but some items sphere are not showing ...

i tried many ways to fix it but failed !! ???? ...
hope you guys gave me solution about how can i fix it

Title: Re: Spheres are not apearing
Post by: Cool on Jul 22, 2017, 03:37 PM
code?
Title: Re: Spheres are not apearing
Post by: Nitro on Jul 22, 2017, 04:39 PM
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FO5mfcBy.png&hash=4e3d983d65b18a5ec595c8ce713429a86b115864)
Title: Re: Spheres are not apearing
Post by: MatheuS on Jul 22, 2017, 05:11 PM
CreateCheckpoint(player, world, isSphere, pos, rgb, radius)
You're using ARGB ( use RGB( R, G, B ) ) and converting to .tofloat but the color is .tointeger()
Title: Re: Spheres are not apearing
Post by: Zone_Killer on Jul 23, 2017, 07:33 AM
Quote from: MatheuS on Jul 22, 2017, 05:11 PMCreateCheckpoint(player, world, isSphere, pos, rgb, radius)
You're using ARGB ( use RGB( R, G, B ) ) and converting to .tofloat but the color is .tointeger()
same problem. i have tried this. Only 40 checkpoints Are appearing.
Title: Re: Spheres are not apearing
Post by: vito1 on Jul 23, 2017, 09:18 AM
it seems it's game limits itself
Title: Re: Spheres are not apearing
Post by: KAKAN on Jul 23, 2017, 09:32 AM
Quote from: vito1 on Jul 23, 2017, 09:18 AMit seems it's game limits itself
The limit was around 3000 or 1000 or at least, 255.
Title: Re: Spheres are not apearing
Post by: Zone_Killer on Jul 23, 2017, 11:28 AM
Video: https://www.youtube.com/watch?v=62f0pjnhFiE&feature=youtu.be#
Title: Re: Spheres are not apearing
Post by: Shadow on Jul 23, 2017, 06:04 PM
http://forum.vc-mp.org/?topic=3548.0
Title: Re: Spheres are not apearing
Post by: Nitro on Jul 24, 2017, 11:19 AM
its mean it's vcmp plugins problem ??
Title: Re: Spheres are not apearing
Post by: Murdock on Jul 24, 2017, 08:33 PM
Quote from: MatheuS on Jul 22, 2017, 05:11 PMCreateCheckpoint(player, world, isSphere, pos, rgb, radius)
You're using ARGB ( use RGB( R, G, B ) ) and converting to .tofloat but the color is .tointeger()

You're supposed to be using ARGB (http://murdock.in/wiki/index.php/VCMP04/Functions/Checkpoint/CreateCheckpoint), using RGB will give unexpected behaviour