Server Side Entity Natives

With the introduction of CREATE_AUTOMOBILE for the server a while back, spawning vehicles has gotten a lot easier. Sadly with this there’s some weird logic you have to do in order to set it client-side, or have to use RPC’s which can sometimes be a bit weird.

Some natives that would be useful to be able to set server side would be:

SetVehicleNumberPlateText
SetVehicleNumberPlateTextIndex
SetVehicleBodyHealth
SetVehicleEngineHealth
SetVehiclePetrolTankHealth
SetVehicleFuelLevel
SetVehicleDirtLevel
SetVehicleColours
SetVehicleExtraColours
SetVehicleWheelType
SetVehicleWindowTint
SetVehicleNeonLightEnabled
SetVehicleExtra
SetVehicleNeonLightsColour
ToggleVehicleMod
SetVehicleTyreSmokeColor
SetVehicleMod
SetVehicleLivery
10 Likes

More natives needed related to Entities:

## ATTACH_ENTITY_TO_ENTITY

For peds (hadrly need to avoid do weird things):

## ADD_RELATIONSHIP_GROUP
## CLEAR_RELATIONSHIP_BETWEEN_GROUPS
## SET_RELATIONSHIP_BETWEEN_GROUPS
## GET_RELATIONSHIP_BETWEEN_PEDS
## CREATE_GROUP
## DOES_GROUP_EXIST
## GET_PED_AS_GROUP_LEADER
## GET_PED_AS_GROUP_MEMBER
## GET_PED_GROUP_INDEX
## IS_PED_GROUP_MEMBER
## IS_PED_IN_GROUP
## GET_PLAYER_GROUP

(And really all groups related entities, this will help a LOT OF about set relationships between peds-peds, player-player, peds.players relations ships, make easier to make peds systems, players relations, etc

also, i think would be nice to have more serverside TASK natives, specially which sets the peds behaviour, hostil/friend, etc

1 Like

Any news with this? +1 for this request