로딩중...

Multiplayer Respawn in SP v1.4 (MP, Custom maps, Bugs fixed)

다운로드
1ce552 mpres
F09410 spawnnears

1,988

MP Respawn adds the respawn feature in Multiplayer to Singleplayer.
This mod don't contains bugs, report me if that contains!
MP Respawn can change his respawn position for any mod, that means you can do mission and when failed he respawn a certain point! Watch below for the code!

Log update:
New spawn system (from MP)
Allowed respawn point at custom maps!

For Custom Model:
It isn't the mod's fault, some mods like Menyoo remove the custom model!


Requirements:
- Script Hook V

Bugs rules:
- No other respawn mod installed!

Credit: This mod includes a little feature, it's up to you to credit me or not.

Mod friendly code:

class DVector3 {
public:
Vector3 a = Vector3(0, 0, 0);
Vector3 b = Vector3(0, 0, 0);
DVector3() {};
DVector3(Vector3 _a, Vector3 _b) {
a = _a;
b = _b;
}
DVector3(float x, float y, float z, float x2, float y2, float z2) {
a = Vector3(x, y, z);
b = Vector3(x2, y2, z2);
}
};
vector RespawnPoints;
bool RespawnPointIsPlayerKilled = false;
void AddRespawnPoint(DVector3 Point) {
RespawnPoints.push_back(Point);
}
void ClearRespawnPoints() {
RespawnPoints.clear();
}
void RespawnPointTick() {
if (RespawnPointIsPlayerKilled) {
if (IS_SCREEN_FADING_IN()) {
RespawnPointIsPlayerKilled = false;

if (RespawnPoints.size()) {
DVector3 RDNRespawnPoint = RespawnPoints[TOOLS::GetRandomInt(0, RespawnPoints.size() - 1)];

WAIT(10);

SetPlayerPos(RDNRespawnPoint.a);
SetPlayerRot(RDNRespawnPoint.b);

FORCE_ALL_HEADING_VALUES_TO_ALIGN(PLAYER_PED_ID());
}
}
}
else {
if (IsEntityDead(PLAYER_PED_ID()))
RespawnPointIsPlayerKilled = true;
}
}
Show Full Description

최초 업로드: 2024년 02월 27일 (화)
마지막 업로드: 23시간 전
마지막 다운로드: 13분 전

All Versions

 v1.5 (Loud buggy sound fixed)

다운로드 23 , 105킬로바이트
23시간 전

 v1.4 (MP, Custom maps, Bugs fixed) (current)

다운로드 726 , 106킬로바이트
2024년 10월 01일 (화)

 v1.3 (Bug when player died just before respawn transition)

다운로드 582 , 112킬로바이트
2024년 05월 20일 (월)

 v1.2 (Respawn more faster)

다운로드 478 , 79킬로바이트
2024년 02월 29일 (목)

 v1.1 (Custom maps, use this if v1.2 doesn't work)

다운로드 156 , 79킬로바이트
2024년 02월 27일 (화)

댓글 45