Undefined symbol "GetVehicleModelMass"
#4

Quote:
Originally Posted by Yaa
Посмотреть сообщение
1 - Download this include https://sampforum.blast.hk/showthread.php?tid=438678
2 - add #include <evi> in u includes
3 - recomplie it
4 - Done
- No work .
C:\Users\ICAFE8\Desktop\tess.pwn(14) : error 017: undefined symbol "GetVehicleModelMass"
C:\Users\ICAFE8\Desktop\tess.pwn(25) : error 017: undefined symbol "GetVehicleModelMass"
PHP код:
#include <a_samp>
#include <evi>
        
new AmountOfShakesMAX_PLAYERS ];
        
forward SetPlayerEarthquakeEffect       playeridamount_of_shakes );
        
forward EarthquakeEffects                       playeridintervalbool:status );
public 
SetPlayerEarthquakeEffectplayeridamount_of_shakes ){
        if( 
amount_of_shakes AmountOfShakesplayerid ] )
                return 
0;
        
AmountOfShakesplayerid ] = amount_of_shakes;
        new 
vehicleid GetPlayerVehicleIDplayerid );
        if( 
vehicleid ){
                if( 
GetVehicleModelMassvehicleidtrue ) >= 2400.0 || amount_of_shakes <= SMALL_QUAKE+200 ){
                        
SetVehicleAngularVelocityvehicleid0.090.0330.05 );
                } else 
SetVehicleAngularVelocityvehicleid0.030.030.03 );
        }
        return 
EarthquakeEffectsplayerid10false );
}
public 
EarthquakeEffectsplayeridintervalbool:status ){
        if( 
AmountOfShakesplayerid ] <= )
                return 
SetPlayerDrunkLevelplayerid);
        if( !(
AmountOfShakesplayerid ]%5) ){
                new 
vehicleid GetPlayerVehicleIDplayerid );
                if( 
GetVehicleModelMassvehicleidtrue ) >= 2400.0 || AmountOfShakesplayerid ] <= SMALL_QUAKE+200 ){
                        
SetVehicleAngularVelocityvehicleid0.030.030.03 );
                } else 
SetVehicleAngularVelocityvehicleid0.0150.0150.015 );
        }
        if( 
status ){
            
SetPlayerDrunkLevelplayerid3000 );
        } else 
SetPlayerDrunkLevelplayerid50000 );
        
AmountOfShakesplayerid ]--;
        return 
SetTimerEx"EarthquakeEffects"intervalfalse"iii"playeridinterval, !status );

Reply


Messages In This Thread
Undefined symbol "GetVehicleModelMass" - by quochuy - 30.09.2016, 17:24
Re: Undefined symbol "GetVehicleModelMass" - by Yaa - 30.09.2016, 17:28
Re: Undefined symbol "GetVehicleModelMass" - by CannonBolt - 30.09.2016, 17:32
Re: Undefined symbol "GetVehicleModelMass" - by quochuy - 30.09.2016, 17:44
Re: Undefined symbol "GetVehicleModelMass" - by quochuy - 30.09.2016, 17:46
Re: Undefined symbol "GetVehicleModelMass" - by Yaa - 30.09.2016, 17:54
Re: Undefined symbol "GetVehicleModelMass" - by quochuy - 30.09.2016, 18:02
Re: Undefined symbol "GetVehicleModelMass" - by Yaa - 30.09.2016, 18:08
Re: Undefined symbol "GetVehicleModelMass" - by quochuy - 30.09.2016, 18:10
Re: Undefined symbol "GetVehicleModelMass" - by SickAttack - 30.09.2016, 18:11

Forum Jump:


Users browsing this thread: 1 Guest(s)