02.09.2012, 00:20
si, se podria hacer usando la funciуn SetPlayerVelocity aunque podria ser algo complicado para la velocidad X y Y
aquн un ejemplo solo aplicando la velocidad Z
aquн un ejemplo solo aplicando la velocidad Z
pawn Код:
CMD:ab(playerid,params[]) {
TimerSubir(playerid,100);
return 1;
}
forward TimerSubir(playerid,Float:Z);
public TimerSubir(playerid,Float:Z) {
new Float:XY,Float:PZ;
GetPlayerPos(playerid,XY,XY,PZ);
if(Z > PZ) {
SetPlayerVelocity(playerid,0.00,0.00,0.5);
SetTimerEx("TimerSubir",200,false,"if",playerid,Z);
}
}