Raised This Month: $ Target: $400
 0% 

(Not)solid player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 03-29-2014 , 17:56   (Not)solid player
Reply With Quote #1

Hey, I tried to do something like this: when player X writes /say command all other players are SOLID_NOT, but only for player X, so player X can walk through other players and other players can walk through player X.


My code, it's not right, I know, maybe someone could write me a normal one?
PHP Code:
public clcmd_say()
{
    new 
Players[32], NumOthers
    get_players
(PlayersNum)

    for (new 
0Numi++)
    {
        
Others Players[i]

        
set_pev(Otherspev_solidSOLID_NOT)
    }

~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
jok
Member
Join Date: Sep 2013
Old 03-29-2014 , 20:38   Re: (Not)solid player
Reply With Quote #2

Basically you're saying that if player X tries to pass through player Y, he'll manage to do that, but if player Y tries to pass through player Z, he can't?

I might be mistaken but I think you need to use AddToFullPack and set_es for this.
jok is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 03-30-2014 , 09:01   Re: (Not)solid player
Reply With Quote #3

So should I use semiclip method? There's no simpler way?
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Reply



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 05:58.


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