Raised This Month: $32 Target: $400
 8% 

CSGO vscript make player invisible. Help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VIDEN
Member
Join Date: Jul 2008
Old 11-24-2016 , 06:13   CSGO vscript make player invisible. Help!
Reply With Quote #1

vscript seems to be very uncommon here (and off curse it is.. (: ) but maybe someone can help me with this anyway.

I want to make players totally invisible by calling a vscript in my CSGO map.

I managed to make the player model invisible by changing the model to ghost.mdl but... The weapon model is still there and people can see the weapon moving and jumping.

This code makes the player model invisible.
PHP Code:
function playerChangeModel()
{
    
//Makes playermodel invisible.
    
activator.SetModel("models/ghost/ghost.mdl")

I tried with this code but it only make the view model from first person invisible so I did try and change weapon_proficiency to a lot of different stuff but cant make it work.
PHP Code:
function playerChangeWeapon()
{
    
//Makes viewmodel arms and gun invisible.
    
local vm null
    
while(vm Entities.FindByClassname(vm"weapon_proficiency")) 
    {
        
vm.SetModel("models/ghost/ghost.mdl")
    }

Someone know how to change the weapon model that can be sin by everyone on the map? Or do you know any other way to make players invisible by vscript? Then I really want to know! ( :
__________________

Last edited by VIDEN; 11-24-2016 at 06:14.
VIDEN is offline
stealthysnacks
New Member
Join Date: Sep 2015
Old 06-03-2017 , 04:44   Re: CSGO vscript make player invisible. Help!
Reply With Quote #2

Maybe player_weaponstrip would suit your needs.
stealthysnacks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode