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


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

#7
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

#8
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?

[R3V]Kelvin

#11
v2.0.0 Update (2024-12-11)
  • Reimplemented almost all definitions for consistency with those from the official Squirrel module (SetPlayerBleeding() and IsPlayerBleeding() become a single property: Player.IsBleeding, etc.).
  • Due to the above change, support for functions to affect all entities on server in a single function call has been dropped (i.e. passing -1 where a valid entity ID was expected).
  • Send a warning message instead of an error message if we fail to hook Squirrel.

No new functionalities have been added.

This update breaks compatibility with older versions of the plugin, so please take a look at the documentation once again for changes that may be relevant to you:
https://github.com/sfwidde/vcmp-latest-features-for-squirrel

If nothing of what has been said above is relevant to you, you can safely ignore this update and continue to use older versions of this plugin.

habi2

good one. i always wanted to tell you this.

Hanney

Quote from: [R3V]Kelvin on Dec 11, 2024, 11:17 PMv2.0.0 Update (2024-12-11)
  • Reimplemented almost all definitions for consistency with those from the official Squirrel module (SetPlayerBleeding() and IsPlayerBleeding() become a single property: Player.IsBleeding, etc.).
  • Due to the above change, support for functions to affect all entities on server in a single function call has been dropped (i.e. passing -1 where a valid entity ID was expected).
  • Send a warning message instead of an error message if we fail to hook Squirrel.

No new functionalities have been added.

This update breaks compatibility with older versions of the plugin, so please take a look at the documentation once again for changes that may be relevant to you:
https://github.com/sfwidde/vcmp-latest-features-for-squirrel

If nothing of what has been said above is relevant to you, you can safely ignore this update and continue to use older versions of this plugin.

ok thanks

habi2

hello hanney. you are an old player vcmp. i have seen some posts. how do you do?