[Ajuda] AttachPlayerToVehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] AttachPlayerToVehicle (
/showthread.php?tid=629174)
AttachPlayerToVehicle -
Jauro - 21.02.2017
Eu tф fazendo uma profissгo de lixeiro e queria poder colocar o catador de lixo ali na parte de trбs do caminhгo de lixo, como a imagem.
Sу que isso certamente nгo estб dando certo, ainda mais quando o veнculo se move.
Existe alguma funзгo semelhante a essa que estou dizendo? (
AttachPlayerToVehicle).
Re: AttachPlayerToVehicle -
IlanZ - 21.02.2017
Tambem estou a procura disso para botar no Helicуptero ;-;
Re: AttachPlayerToVehicle -
Injury - 21.02.2017
A include/plugin FCNPC possibilita isso:
PHP код:
native FCNPC_SetSurfingVehicle(npcid, vehicleid);
native FCNPC_SetSurfingOffsets(npcid, Float:x, Float:y, Float:z);
mas isso й apenas para NPC's, com jogadores acho que nгo й possivel.
Re: AttachPlayerToVehicle -
Jauro - 21.02.2017
Quote:
Originally Posted by Injury
A include/plugin FCNPC possibilita isso:
PHP код:
native FCNPC_SetSurfingVehicle(npcid, vehicleid);
native FCNPC_SetSurfingOffsets(npcid, Float:x, Float:y, Float:z);
mas isso й apenas para NPC's, com jogadores acho que nгo й possivel.
|
Nossa, muito obrigado! Jб ajudou demais!
+REP