Don't retrigger player spawn event

This commit is contained in:
Vortrex
2022-10-25 22:42:09 -05:00
parent b0c91a9d4e
commit 86906cbf6b

View File

@@ -399,7 +399,7 @@ function onPedSpawn(ped) {
if (ped.type == ELEMENT_PLAYER) {
if (getGame() != AGRP_GAME_MAFIA_ONE && getGame() != AGRP_GAME_GTA_IV) {
//setTimeout(onPlayerSpawn, 250, ped);
onPlayerSpawn();
//onPlayerSpawn();
}
}
}