Latest VC:MP features for Squirrel

Started by [R3V]Kelvin, Jul 22, 2024, 03:19 AM

Previous topic - Next topic

[R3V]Kelvin



Hi
With VC:MP's latest update (v0.4.7), there are new functionalities that were added to the server through the new plugin SDK. Unfortunately, official Squirrel module has not been updated in a while (6 years!), making these features inaccessible for Squirrel server developers. So, as a temporary solution to this problem, I've decided to make this plugin so that they can enjoy from these features on their servers too!

Downloads, documentation and more can be found here:
https://github.com/sfwidde/vcmp-latest-features-for-squirrel

Dasryel

Good contribution to the community, keep it up Kelvin ;)

PSL


Aky


habi2


[R3V]Kelvin

#5
v1.0.2 Update (2024-08-25)
  • Fixed inconsistency with 'KillPlayer'.
  • Fixed 'SetPlayerCameraPos' bug when certain values for 'interpTimeMS' were used.
  • 'SetVehicleBonnetOpen' and 'SetVehicleBootOpen' now accept negative integers as a valid vehicle ID.
  • Few other minor improvements.

v1.0.3 Update (2024-08-25)
  • Fixed an internal issue with non-static functions that would make this plugin incompatible with other plugins on Linux, causing various issues like server crashing in certain scenarios, or SQLatestFeatures functions not being loaded at all.

Updated binaries

[R3V]Kelvin

#6
v1.1.0 Update (2024-09-03)
  • Added missing functions 'SetVehicleEngineEnabled' and 'IsVehicleEngineEnabled'.
  • Code reutilization, possibly improving performance and decreasing binary size slightly.

Updated binaries

MEGAMIND

is there any mwthod for 3d arrow to be on a pickup model and object id?

vitovc

Quote from: MEGAMIND on Oct 10, 2024, 07:33 AMis there any mwthod for 3d arrow to be on a pickup model and object id?
/Grand Theft Auto Vice City/models/generic/arrow.DFF
there is no "object id" in vcmp for that.
...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)

MEGAMIND

#9
Quote from: vitovc on Oct 10, 2024, 08:21 AM
Quote from: MEGAMIND on Oct 10, 2024, 07:33 AMis there any mwthod for 3d arrow to be on a pickup model and object id?
/Grand Theft Auto Vice City/models/generic/arrow.DFF
there is no "object id" in vcmp for that.
this is not what i ment,i ment like in the post we have arrow for player and car,what if theres a pickup for an object we can get an arrow too for that or even a checkpoint too?

MEGAMIND

#10
like in the Guardian Angels mission
the pickup breifcase has the 3d arrow

also arrow color if possible?

habi2

Maybe it is creating arrows based on position..

MEGAMIND

Quote from: habi2 on Oct 10, 2024, 06:02 PMMaybe it is creating arrows based on position..
now thats what im thinking maybe it based on position maybe based on pickup

well we gotarrows for player and vehicle will it be possible for a pickup? also if its possible we can chnage the arrow color?