Posts: 13
Threads: 3
Joined: Oct 2014
Reputation:
0
Hello. I have a problem with pickups on map vc2sa for new version of SA:MP. I tried to create the pickup at civilian spawn with next variables: CreatePickup, CreateDynamicPickup and AddStaticPickup and of these, nothing is working. How to resolve this problem?
*Sorry for my english*
Posts: 1,192
Threads: 10
Joined: Dec 2017
Reputation:
0
No you can't create pickups yet it wasnt resolved because the vc and lc maps are too far from the sa map.
Posts: 13
Threads: 3
Joined: Oct 2014
Reputation:
0
I forgot to mention that I changed the virtual world of vc2sa to 0, but is more good because i have acces to more function with virtualworld 0
Posts: 391
Threads: 46
Joined: Mar 2008
Reputation:
0
28.01.2018, 15:59
(
Последний раз редактировалось niCe; 29.01.2018 в 17:08.
)
It looks like, that pickups created outside -4096,-4096,4096,4096 boundaries are not visible.
Posts: 2
Threads: 0
Joined: Jan 2018
Use objects and areas
Object modelid: 19135
Posts: 1,767
Threads: 124
Joined: Mar 2010
Is that a possible fix? (I'm aware that plugins may not be comp.)
Quote:
2.0 (R1
Incoming RCON connections erase the banlist due to bugged IsBanned function on Linux.
• Return value of GetVehiclePaintjob matches the parameter of ChangeVehiclePaintjob. Update your code to reflect it!
• Fixed an assertion crash related to RakNet vector values out of bounds.
• Added a couple of vehicle functions, mainly ToggleVehicleSirenEnabled and IsVehicleSirenEnabled. It reflects the "addsiren" parameter of CreateVehicle. You have to re-sync the vehicle if you change its siren state like for SetVehicleNumberPlate, or respawn with SetVehicleToRespawn. Other functions include GetVehicleAngularVelocity, which probably returns radians, GetVehicleMatrix returning the internal vehicle rotation matrix, which can also be converted to a quaternion returned by GetVehicleRotationQuat. The last three parameters are observed to be 0 if an unoccupied vehicle is updated (invalidating the quaternion). SetVehicleMatrix doesn't seem to work at all, but maybe you'll find some use.
• Added new natives:
Код:
native GetSyncBounds(&Float:hmin, &Float:hmax, &Float:vmin, &Float:vmax);
native SetSyncBounds(Float:hmin, Float:hmax, Float:vmin, Float:vmax);
They address this issue. These functions control the bounds where the player position and shots are synced with other players. You can quite easily set them to infinity:
Код:
#define FLOAT_INFINITY (Float:0x7F800000)
SetSyncBounds(-FLOAT_INFINITY, FLOAT_INFINITY, -FLOAT_INFINITY, FLOAT_INFINITY);
Default bounds are "-20000, 20000, -1000, 200000". The first two parameters control the bounds for X and Y coordinates, while the second two for the Z coordinate, i.e. height.
|
https://sampforum.blast.hk/showthread.php?tid=609499
Posts: 107
Threads: 18
Joined: Mar 2013
No, It won’t work since this is a limit from the client itself, not a server problem.
Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
Use object 19902 and dynamic area for entrances