SA-MP Forums Archive
[Ayuda] Vehicle respawn - 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: [Ayuda] Vehicle respawn (/showthread.php?tid=454990)



[Ayuda] Vehicle respawn - J031 - 31.07.2013

Tengo unos AddStaticVehicle(...); Y cuando te subes a un auto y te vas por ahн y te bajas del auto como al minuto el auto se va a su lugar de origen, osea a la coordenada que esta en su respectivo AddStaticVehicle(...);
їCуmo puedo evitar eso?


Respuesta: [Ayuda] Vehicle respawn - OTACON - 31.07.2013

usa AddStaticVehicleEx

pawn Код:
#include <a_samp>
#define TIEMPO_RESPAWN (999999)

public OnGameModeInit() {
    AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, TIEMPO_RESPAWN);
    return true;
}



Respuesta: [Ayuda] Vehicle respawn - J031 - 31.07.2013

Quote:
Originally Posted by OTACON
Посмотреть сообщение
usa AddStaticVehicleEx

pawn Код:
#include <a_samp>
#define TIEMPO_RESPAWN (999999)

public OnGameModeInit() {
    AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, TIEMPO_RESPAWN);
    return true;
}
Gracias... +rep