Raised This Month: $ Target: $400
 0% 

Colliding even when SOLID_NOT | Player invicible (SOLID_NOT)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-14-2018 , 05:15   Re: Colliding even when SOLID_NOT | Player invicible (SOLID_NOT)
Reply With Quote #1

I'm not sure if this is the issue, didn't read all the code, but after changing solid type try to set player origin, something like:

PHP Code:
new Float:PlayerOrigin[3
pev(idpev_originPlayerOrigin
entity_set_origin(idPlayerOrigin
__________________
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-14-2018 , 05:48   Re: Colliding even when SOLID_NOT | Player invicible (SOLID_NOT)
Reply With Quote #2

Quote:
Originally Posted by HamletEagle View Post
I'm not sure if this is the issue, didn't read all the code, but after changing solid type try to set player origin, something like:

PHP Code:
new Float:PlayerOrigin[3
pev(idpev_originPlayerOrigin
entity_set_origin(idPlayerOrigin
Well, in simple words somehow some players manage to stay SOLID_NOT even after landing on the ground, they are supposed to be SOLID_NOT when they're still in the sky and SOLID_SLIDEBOX (default) when they land. Should I use that every time I change players solid type or just when SOLID_SLIDEBOX is set?
__________________
edon1337 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-14-2018 , 06:12   Re: Colliding even when SOLID_NOT | Player invicible (SOLID_NOT)
Reply With Quote #3

Every time you change solidity to anything.
__________________

Last edited by HamletEagle; 08-14-2018 at 06:13.
HamletEagle is offline
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 12:18.


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