[Ajuda] error 070: rational number support was not enabled
#5

ae tens

pawn Код:
/*
        SA-MP MapAndreas Include
        Copyright © 2011-2012 RyDeR`
*/

 
#if defined _MapAndreas_Included
        #endinput
#endif
 
#define _MapAndreas_Included
 
stock Float: GetPointZPos(const Float: fX, const Float: fY, &Float: fZ = 0.0) {
        if(!((-3000.0 < fX < 3000.0) && (-3000.0 < fY < 3000.0))) {
                return 0.0;
        }
        static
                File: s_hMap
        ;
        if(!s_hMap) {
                s_hMap = fopen("SAfull.hmap", io_read);
               
                if(!s_hMap) {
                        return 0.0;
                }
        }
        new
                afZ[1]
        ;
        fseek(s_hMap, ((6000 * (-floatround(fY, floatround_tozero) + 3000) + (floatround(fX, floatround_tozero) + 3000)) << 1));
        fblockread(s_hMap, afZ);
       
        return (fZ = ((afZ[0] >>> 16) * 0.01));
}
topico official

https://sampforum.blast.hk/showthread.php?tid=273263
Reply


Messages In This Thread
error 070: rational number support was not enabled - by MrPaulistinha - 19.08.2013, 00:49
Re: error 070: rational number support was not enabled - by focaximubh - 19.08.2013, 01:00
Re: error 070: rational number support was not enabled - by MrPaulistinha - 19.08.2013, 01:02
Re: error 070: rational number support was not enabled - by focaximubh - 19.08.2013, 01:04
Re: error 070: rational number support was not enabled - by PT - 19.08.2013, 02:50

Forum Jump:


Users browsing this thread: 1 Guest(s)