20.08.2012, 18:10
Quote:
|
Код:
if(newkys == KEY_JUMP )
{
if( super_jump[playerid] == 1)
{
if(!IsPlayerInAnyVehicle(playerid) )
{
new Float:SuperJump[3];
GetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]);
SetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]+5);
}
else return SendClientMessage(playerid ,COLOR_ORANGE ,"You can't super jump while you are in vehicle!");
}
}
|


