Disable skin change
This commit is contained in:
@@ -303,8 +303,9 @@ function setLocalPlayerInfiniteRun(state) {
|
|||||||
|
|
||||||
function setLocalPlayerSkin(skinId) {
|
function setLocalPlayerSkin(skinId) {
|
||||||
if(getGame() == VRR_GAME_GTA_IV) {
|
if(getGame() == VRR_GAME_GTA_IV) {
|
||||||
//natives.changePlayerModel(natives.getPlayerId(), skinId);
|
natives.changePlayerModel(natives.getPlayerId(), skinId);
|
||||||
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
//localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
||||||
|
//localPlayer.modelIndex = allowedSkins[skinSelectorIndex][0];
|
||||||
} else {
|
} else {
|
||||||
localPlayer.skin = skinId;
|
localPlayer.skin = skinId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ function processSkinSelectKeyPress(keyCode) {
|
|||||||
skinSelectMessageTextTop = allowedSkins[skinSelectorIndex][1];
|
skinSelectMessageTextTop = allowedSkins[skinSelectorIndex][1];
|
||||||
if(getGame() == VRR_GAME_GTA_IV) {
|
if(getGame() == VRR_GAME_GTA_IV) {
|
||||||
//natives.changePlayerModel(natives.getPlayerId(), allowedSkins[skinSelectorIndex][0]);
|
//natives.changePlayerModel(natives.getPlayerId(), allowedSkins[skinSelectorIndex][0]);
|
||||||
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
//localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
||||||
|
//localPlayer.modelIndex = allowedSkins[skinSelectorIndex][0];
|
||||||
} else {
|
} else {
|
||||||
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
||||||
}
|
}
|
||||||
@@ -69,7 +70,8 @@ function processSkinSelectKeyPress(keyCode) {
|
|||||||
skinSelectMessageTextTop = allowedSkins[skinSelectorIndex][1];
|
skinSelectMessageTextTop = allowedSkins[skinSelectorIndex][1];
|
||||||
if(getGame() == VRR_GAME_GTA_IV) {
|
if(getGame() == VRR_GAME_GTA_IV) {
|
||||||
//natives.changePlayerModel(natives.getPlayerId(), allowedSkins[skinSelectorIndex][0]);
|
//natives.changePlayerModel(natives.getPlayerId(), allowedSkins[skinSelectorIndex][0]);
|
||||||
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
//localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
||||||
|
//localPlayer.modelIndex = allowedSkins[skinSelectorIndex][0];
|
||||||
} else {
|
} else {
|
||||||
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
localPlayer.skin = allowedSkins[skinSelectorIndex][0];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user