AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Host error : backwards mins/maxs (https://forums.alliedmods.net/showthread.php?t=188784)

Dr7sTyLe 06-30-2012 10:52

Host error : backwards mins/maxs
 
i have an entity with this
mins -17.734497 maxs 17.734497
mins 0.000000 maxs 0.000000
mins -124.598808 maxs 124.598808
and it gives the error in the topic why ?

ConnorMcLeod 06-30-2012 15:00

Re: Host error : backwards mins/maxs
 
Try -0.000000 and 0.000000
Or -1.000000 1.000000

Dr7sTyLe 07-01-2012 05:37

Re: Host error : backwards mins/maxs
 
Quote:

Originally Posted by ConnorMcLeod (Post 1739888)
Try -0.000000 and 0.000000
Or -1.000000 1.000000

Didn't work, always getting this error.
I saw another post about this problem, and exolent commented and said it was because the mins value was bigger then the maxs value for another person, but in my case its not so what can i do.

ConnorMcLeod 07-01-2012 05:39

Re: Host error : backwards mins/maxs
 
Show the full code then.

Dr7sTyLe 07-01-2012 07:57

Re: Host error : backwards mins/maxs
 
Quote:

Originally Posted by ConnorMcLeod (Post 1740278)
Show the full code then.

PHP Code:

#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_clcmd"cmd""create_wall" );
}

public 
cmdid )
{
    new 
Ent engfuncEngFunc_CreateNamedEntityengfuncEngFunc_AllocString,"custom_wall" ) );
    
engfuncEngFunc_SetOriginEntFloat:{ 1340.03583.0, -62.5 } );
    
set_pevEntpev_solidSOLID_BBOX );
    
engfuncEngFunc_SetSizeEntFloat:{ -62.50.0, -127.0 }, Float:{ 62.50.0127 } );


it worked for me one time it created a wall and i couldnt pass through it as i want, but after few seconds it crashed and didnt work again ..

ConnorMcLeod 07-01-2012 08:02

Re: Host error : backwards mins/maxs
 
Change 127 to 127.0

If still doesn't work try :

engfunc( EngFunc_SetSize, Ent, Float:{ -62.5, -1.0, -127.0 }, Float:{ 62.5, 1.0, 127.0 } );


All times are GMT -4. The time now is 15:04.

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