SA-MP Forums Archive
Problema con NPC. - 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: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Problema con NPC. (/showthread.php?tid=420396)



Problema con NPC. - jwalker - 04.03.2013

Buenas, tengo un problema, el NPC lo agregй y compilo bien el gamemode, pero el problema es que el coche spawnea en blueberry y no sale donde tendrнa que estar (donde empeze a grabar) aquн el script de como puse el vehнculo:

Код:
npccoche = AddStaticVehicleEx(598,0,0,0,0,0,0,60000);
598 es el modelo del auto


Respuesta: Problema con NPC. - CrossOv3r - 04.03.2013

Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay)
Float: spawn_x, Float: spawn_y, Float: spawn_z

Cambia esos parбmetros por las coordenadas donde se supone que deberнa spawnear


Respuesta: Problema con NPC. - Fluid016 - 04.03.2013

Has lo que te dijo Cross y luego mete al NPC dentro del auto.
PutPlayerInVehicle