SetPlayerVelocity
#1

Hey, im making a script which sets ur velocity to a certain amount, but the z part wont work, ive tried a lot of ways, but if i set 50 or 5 at the vz
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys == KEY_SECONDARY_ATTACK)
    {
        new vx,vy,vz;
        GetPlayerVelocity(playerid,Float:vx,Float:vy,Float:vz);
        SetPlayerVelocity(playerid,vx + 0.5,vy - 0.7 ,vz + 0.5);
    }
Reply


Messages In This Thread
SetPlayerVelocity - by Bessensap - 24.09.2010, 14:52
Re: SetPlayerVelocity - by CAR - 24.09.2010, 14:55
Re: SetPlayerVelocity - by Mauzen - 24.09.2010, 14:55
Re: SetPlayerVelocity - by Bessensap - 24.09.2010, 14:57
Re: SetPlayerVelocity - by Bessensap - 25.09.2010, 11:14
Re: SetPlayerVelocity - by The_Moddler - 25.09.2010, 11:49
Re: SetPlayerVelocity - by [XST]O_x - 25.09.2010, 11:52

Forum Jump:


Users browsing this thread: 2 Guest(s)