CS GO: Remove Knife !
Hello.
I have a custom player model, which ideally wouldn't show a knife (i want the weapon to be transparent). See img below. My previous strategy was to replace the knife with a small black dot, which worked till some SM versions ago. My actual strategy is the following, which doesn't work: Code:
public Action:Command_test(client, args) //.. I also tried this (this one does nothing :P ) : Code:
public PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) Thanks as always for your help Merry christmas http://************/image/kazzfvgnb/ https://forums.alliedmods.net/data:i...AAAElFTkSuQmCC |
Re: CS GO: Remove Knife !
Is there a way to hide the knife,
without corrupting our model? The blessing comes in a disguise, transparency you should now toggle! |
Re: CS GO: Remove Knife !
Thanks for your reply, although i cannot decipher exactly what you mean.
Should i toggle transparency ? when ? I appreciate your help. Merry Christmas ! |
Re: CS GO: Remove Knife !
Quote:
PHP Code:
|
Re: CS GO: Remove Knife !
Hi, I tried removing it by doing:
Code:
public removeKnife(){ It didn't work. Next i tried this: After removing with the classic , working way: Code:
public removeKnife(){ Then, after invoking the removeKnife() function, i toggled invisibility to all players for a moment, then returned to visibility: Code:
for (new i = 1; i<MAXPLAYERS ; i++){ |
Re: CS GO: Remove Knife !
Your image doesn't work.
|
Re: CS GO: Remove Knife !
I don't know what do you mean "still corrupts the custom player model", but Bacardi provided us:
PHP Code:
But I need to make some specific weapons invisible, for example: only all terrorists' knives are invisible, but CTs' knives are normal. "weaponworldmodel" entities have no "owner" so I cannot find out who owns it. I need help too. https://forums.alliedmods.net/showthread.php?t=272100 |
All times are GMT -4. The time now is 03:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.