SA-MP How make NPC Surfing in Vehicle
#1

I need to get the npc to follow the vehicle, I've tried to do with an actor and a timer, but it takes a while to update and it seems like it's lagged.

For example the NPC surfing on bobcat:



If it is not possible I would also like to know if it is possible to create a skin as an object in some way without it being invisible, even with some plugin.


TY
Reply
#2

@UP someone
Reply
#3

You can use the FCNPC Plugin for that.

You need to create an NPC, spawn it and then use FCNPC_SetSurfingVehicle and FCNPC_SetSurfingOffsets to attach the NPC to the given vehicle at the specified offset. After that you can make it shoot or do an animation if needed.
Reply
#4

Quote:
Originally Posted by NaS
Посмотреть сообщение
You can use the FCNPC Plugin for that.

You need to create an NPC, spawn it and then use FCNPC_SetSurfingVehicle and FCNPC_SetSurfingOffsets to attach the NPC to the given vehicle at the specified offset. After that you can make it shoot or do an animation if needed.
TY brow
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)