18.05.2014, 21:50
Agreed fully with Danny. Scripting that shouldn't be that hard unless you're alone which will take hella time I guess.
new AmountOfShakes[ MAX_PLAYERS ];
forward SetPlayerEarthquakeEffect ( playerid, amount_of_shakes );
forward EarthquakeEffects ( playerid, interval, bool:status );
public SetPlayerEarthquakeEffect( playerid, amount_of_shakes ){
if( amount_of_shakes < AmountOfShakes[ playerid ] )
return 0;
AmountOfShakes[ playerid ] = amount_of_shakes;
new vehicleid = GetPlayerVehicleID( playerid );
if( vehicleid ){
if( GetVehicleModelMass( vehicleid, true ) >= 2400.0 || amount_of_shakes <= SMALL_QUAKE+200 ){
SetVehicleAngularVelocity( vehicleid, 0.09, 0.033, 0.05 );
} else SetVehicleAngularVelocity( vehicleid, 0.03, 0.03, 0.03 );
}
return EarthquakeEffects( playerid, 10, false );
}
public EarthquakeEffects( playerid, interval, bool:status ){
if( AmountOfShakes[ playerid ] <= 0 )
return SetPlayerDrunkLevel( playerid, 0 );
if( !(AmountOfShakes[ playerid ]%5) ){
new vehicleid = GetPlayerVehicleID( playerid );
if( GetVehicleModelMass( vehicleid, true ) >= 2400.0 || AmountOfShakes[ playerid ] <= SMALL_QUAKE+200 ){
SetVehicleAngularVelocity( vehicleid, 0.03, 0.03, 0.03 );
} else SetVehicleAngularVelocity( vehicleid, 0.015, 0.015, 0.015 );
}
if( status ){
SetPlayerDrunkLevel( playerid, 3000 );
} else SetPlayerDrunkLevel( playerid, 50000 );
AmountOfShakes[ playerid ]--;
return SetTimerEx( "EarthquakeEffects", interval, false, "iii", playerid, interval, !status );
}
pawn Код:
Good luck hope you have as much fun as we did! |
This is very very simple, kids.
Just use SetPlayerDrunkLevel, fuck with the gravity a little, get a mapping team, done. |
So what your saying is that you are better than LS-RP's 3rd Party Scripters? Hahaha, ROFL, I don't think you are better than the 3rd Party Scripters LS-RP has, as it is normally some of the best scripters with the most talent that got hired by them, + their Mappers is amazing too, so please don't make a big deal about someone being better than you in scripting -.-
|
So what your saying is that you are better than LS-RP's 3rd Party Scripters? Hahaha, ROFL, I don't think you are better than the 3rd Party Scripters LS-RP has, as it is normally some of the best scripters with the most talent that got hired by them, + their Mappers is amazing too, so please don't make a big deal about someone being better than you in scripting -.-
|