Free fall
#4

its not exactly meters but yes i think its 8 samp-units/s/s.
You could easily write a script to test this.(below, not tested) Will give you samp-units/s/s.
You should also have a terminal velocity otherwise you will end up with a really fast object.

pawn Код:
new playerSpeed[MAX_PLAYERS];

public OnFilterScriptInit()
{
SetTimer("AccelerationTimer", 1000, 1);
}

public ()
{
new Float:Xnull, Float:Ynull, Float:Zspeed;
for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
{
GetPlayerVelocity(playerid, Xnull, Ynull, Zspeed);
new msg[128];
format(msg, sizeOf(msg), "Acceleration: %f/s/s", Zspeed-playerSpeed[playerid]);
SendClientMessage(playerid, 0xAAAAAAAA, msg);
playerSpeed[playerid] = Zspeed;
}
}
Reply


Messages In This Thread
Free fall - by potato - 18.01.2010, 18:38
Re: Free fall - by Joe Staff - 18.01.2010, 18:44
Re: Free fall - by potato - 18.01.2010, 18:45
Re: Free fall - by mansonh - 19.01.2010, 08:04
Re: Free fall - by Gamer_Z - 19.01.2010, 09:10

Forum Jump:


Users browsing this thread: 1 Guest(s)