Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPVMI_AddViewModelToClient glitch. Wont remove model #2

Closed
hitmany opened this issue Oct 10, 2016 · 3 comments
Closed

FPVMI_AddViewModelToClient glitch. Wont remove model #2

hitmany opened this issue Oct 10, 2016 · 3 comments

Comments

@hitmany
Copy link

hitmany commented Oct 10, 2016

Hello!

Thank you for great plugin again)
I have issue with FPVMI_AddViewModelToClient
When I trying to remove view model its wont be changed and blinking
But after I changing weapon and switching back to custom weapon its returns to original weapon model

https://www.youtube.com/watch?v=Ri7txgg51K8

@hitmany
Copy link
Author

hitmany commented Nov 20, 2016

Any ideas? ))

@NomisCZ
Copy link

NomisCZ commented Dec 8, 2016

This should help you:

// Give player Zeus, because FPMVKnife bug
int zeus = GetPlayerWeaponSlot(client, 2);

if(zeus != -1) {
	int taser = GivePlayerItem(client, "weapon_taser");
	EquipPlayerWeapon(client, taser);
}

RemovePlayerItem(client, zeus);
RemoveEdict(zeus);
FPVMI_RemoveViewModelToClient(client, "weapon_knife");

@hitmany
Copy link
Author

hitmany commented Dec 8, 2016

Yes, thank you. I am using such temp fix. But I hope this big can be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants