Clear weapon pickups on enter/exit (for SA)
This commit is contained in:
@@ -323,6 +323,8 @@ function enterExitPropertyCommand(command, params, client) {
|
||||
}
|
||||
}
|
||||
|
||||
clearLocalPickupsForPlayer(client);
|
||||
|
||||
//setPlayerInCutsceneInterior(client, closestProperty.entranceCutscene);
|
||||
stopRadioStreamForPlayer(client);
|
||||
getPlayerData(client).streamingRadioStation = -1;
|
||||
|
||||
@@ -1231,4 +1231,10 @@ function sendPlayerLocaleStrings(client) {
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
|
||||
function clearLocalPickupsForPlayer(client) {
|
||||
sendNetworkEventToPlayer(client, "vrr.clearPickups");
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
Reference in New Issue
Block a user