View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004228||Multi Theft Auto : San Andreas||Client||public||2009-04-27 10:43||2014-09-02 23:50|
|Target Version||Fixed in Version||1.3.1|
|Summary||0004228: warpPedIntoVehicle client-side|
Would be useful to warp client-side peds into client-side vehicles.
Ofcourse, should only work on client-side peds and client-side vehicles.
|Tags||No tags attached.|
i have been working very hard latley on some Cutscenes for the upcomming PS RP Server, and one thing has pissed me off numerous times.
Basically, ive been making the cutscenes client side, as they work extremley well like this, and i dont have to do any dimmension changing and stuff, so a cutscene can be happening right around other players and they wont see it.
The only problem that i have come across is, warpPedIntoVehicle is serverside only, making it a bastard.
i first tried triggering a serverside event to warp the ped into the clientside created vehicle, which didnt work. (no errors, just dosent work)
so then we moved the entire script serverside, which was worse, as most of the functions i use in the cutscene are Client side only. and also, now other players can see the cutscene happening around them (not very pretty what you dont see behind the camera)
but yeah, thats why i am requesting warpPedIntovehicle be made both server and Client side. (or even just give the serverside command the ability to warp player into a Clientside vehicle)
This would also be really useful for the Ghost Driver resource. Currently you have to make the ghost ped/vehicle server-side as there's no client side warpPedIntoVehicle() function. This means it exists as a server element but is updated client-side - leading to choppy play back.
If this was added all ghost driver code could be moved client-side.