29.04.2012, 21:55
(
Последний раз редактировалось Andregood; 04.08.2012 в 13:24.
)
Removed.
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid,x,y,z);
SetPlayerVelocity(playerid,0.0,0.0,0.6); //Your Z floats.
if(PlayerInfo[playerid][pJump] < 0)
{
SetPlayerVelocity(playerid,vx + 0.0,vy - 0.0 ,vz + 1.0);
}
if(PlayerInfo[playerid][pJump] == 0)
{
SetPlayerVelocity(playerid,vx + 0.0,vy - 0.0 ,vz + 0.3);
{
if(PlayerInfo[playerid][pJump] == 1)
{
SetPlayerVelocity(playerid,vx + 0.0,vy - 0.0 ,vz + 0.4);
}
if(PlayerInfo[playerid][pJump] == 2)
{
SetPlayerVelocity(playerid,vx + 0.0,vy - 0.0 ,vz + 0.5);
}
if(PlayerInfo[playerid][pJump] == 3)
{
SetPlayerVelocity(playerid,vx + 0.0,vy - 0.0 ,vz + 0.6);
}
if(PlayerInfo[playerid][pJump] == 4)
{
SetPlayerVelocity(playerid,vx + 0.0,vy - 0.0 ,vz + 0.7);
}