NPCs in Vehicles - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: NPCs in Vehicles (
/showthread.php?tid=582457)
NPCs in Vehicles -
NXGMatze - 20.07.2015
Hello Guys,
since we updated to SAMP 0.3.7-R2
this plugin | FCNPC for NPCs dont work. Which is not a big problem for us, because we only used the function to let a npc enter a vehicle.
I edited all functions and found a problem. I couldnt put a npc in a vehicle.
I tried PutPlayerInVehicle(Taxikunde,GetPlayerVehicleID(pl ayerid),3); for sure with the correct ids..
Isnt this the right function ?
Have someone a solution? The NPC simulates a Client for our Taxidrivers and should sit in the back of the cab.
Thanks for Help.
Best regards
Re: NPCs in Vehicles -
AIped - 20.07.2015
use FCNPC_Putinvehicle instead of the players version of putplayerinvehicle.
It works perfect for me
AW: NPCs in Vehicles -
NXGMatze - 21.07.2015
Hello,
this is no option for me because the plugin doesnt work with the new SAMP Version. The Plugin is incompatible, so I cant use those commands.
I search for a solution without an additional plugin, is there no standard function?
Best regards
AW: NPCs in Vehicles -
NXGMatze - 23.07.2015
Hello,
nobody have an idea?
Best regards
Re: NPCs in Vehicles -
GlobalShot - 23.07.2015
Change the plugin maybe?
Re: NPCs in Vehicles -
xVIP3Rx - 23.07.2015
Since I'm not familiar with NPC I looked around, I think your function should work but it wont hurt to read these
this &
this