AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Showing up a model (https://forums.alliedmods.net/showthread.php?t=164049)

r14170 08-06-2011 17:39

Showing up a model
 
Hi AM!

is there a way to show a model infront of the player without set_pev?

bibu 08-06-2011 17:44

Re: Showing up a model
 
http://forums.alliedmods.net/showthread.php?t=40822

r14170 08-06-2011 18:42

Re: Showing up a model
 
i tryed this way:

Code:

        new plrs[32], num;
        get_players(plrs, num, "ch");
        for (new i; i < num; i++)
        {
                if (get_user_weapon(plrs[i]) != CSW_KNIFE)
                {
                        set_pev(plrs[i], pev_viewmodel, mymodel[terrorists]);
                }
                else
                {
                        set_pev(plrs[i], pev_viewmodel, mymodel[terrorists2]);
                }
        }


its showing the model but if you are dead it doesnt show up.. how do i fix that?

bibu 08-06-2011 19:37

Re: Showing up a model
 
Do you mean the world or player model?

r14170 08-06-2011 21:08

Re: Showing up a model
 
infront of a player like [zp] new win messages and not for zp :?

Ryokin 08-06-2011 22:45

Re: Showing up a model
 
@bibu if you don't understand, don't post
@r14170 [zp] new win messages plugin just changes the player's view weapon model
i think using entity is the way to show up model

abdul-rehman 08-07-2011 06:23

Re: Showing up a model
 
You can use this as an alternative
https://forums.alliedmods.net/showthread.php?t=159584

However you can display sprites only using this plugin.

r14170 08-07-2011 07:24

Re: Showing up a model
 
i'll try to do it with entity, btw im not using it for zp server however thanks anyways :)

abdul-rehman 08-07-2011 07:36

Re: Showing up a model
 
The above plugin will work for cs as well

r14170 08-07-2011 07:57

Re: Showing up a model
 
but with sprites , i need with models.


All times are GMT -4. The time now is 03:30.

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