Raised This Month: $51 Target: $400
 12% 

backwards mins/maxs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kossolax
AlliedModders Donor
Join Date: Jan 2008
Location: Belgium
Old 05-12-2009 , 17:11   backwards mins/maxs
Reply With Quote #1

Hello, I'd like to spawn a new buy zone in an custom area...

So I got the origin from both side of the area :

PHP Code:
public plugin_precache() {
    new 
Float:buyzone_min[3] = {533.2, -3051.3172.8}
    new 
Float:buyzone_max[3] = {767.8, -2928.074.3}
        
    new 
entity engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"func_buyzone"));
        
    
dllfunc(DLLFunc_Spawnentity);
    
engfunc(EngFunc_SetSizeentitybuyzone_minbuyzone_max);

But it's return this error :

FATAL ERROR (shutting down): Host_Error: backwards mins/maxs

Someone can help me please?

Thanks in advance
kossolax is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 05-12-2009 , 17:48   Re: backwards mins/maxs
Reply With Quote #2

switch them ;)http://forums.alliedmods.net/showthread.php?t=76707
__________________
Dr.G is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-12-2009 , 20:33   Re: backwards mins/maxs
Reply With Quote #3

Your problem is that the Z or [2] value of the mins is larger than the value of the Z or [2] value of the maxs.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kossolax
AlliedModders Donor
Join Date: Jan 2008
Location: Belgium
Old 05-13-2009 , 01:55   Re: backwards mins/maxs
Reply With Quote #4

Quote:
Originally Posted by Dr.G View Post
Yes, I saw that before, but he doesnt explain about the value...


Quote:
Originally Posted by Exolent[jNr] View Post
Your problem is that the Z or [2] value of the mins is larger than the value of the Z or [2] value of the maxs.
oh so simply, Thanks a lot
kossolax 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 20:38.


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