AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Blockmaker Poles (https://forums.alliedmods.net/showthread.php?t=105254)

GXLZPGX 10-02-2009 19:23

Blockmaker Poles
 
I have everything but I don't know how to work out the Pole Block Size:

PHP Code:

            //work out the block size
            
new size SMALL;
            new 
Float:fMax vSizeMax[0] + vSizeMax[1] + vSizeMax[2];
            if (
fMax 64.0size NORMAL;
            if (
fMax 128.0size LARGE

Would it be..

PHP Code:

            //work out the block size
            
new size POLE;
            new 
Float:fMax vSizeMax[0] + vSizeMax[1] + vSizeMax[2];
            if (
fMax 32.0size SMALL;
            if (
fMax 64.0size NORMAL;
            if (
fMax 128.0size LARGE


Duff-Girl 10-03-2009 10:54

Re: Blockmaker Poles
 
Its wrong you need to know the POLE block SIZE and add it to blockmaker dimensions and also there u showed.


All times are GMT -4. The time now is 22:38.

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