Limit to Z in SetPlayerVelocity?
#3

Quote:
Originally Posted by mineralo
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetPlayerVelocity
pawn Код:
if (!strcmp("/jump", cmdtext))
    {
        new Float:x,Float:y,Float:z;
        GetPlayerPos(playerid,x,y,z)
    SetPlayerVelocity(playerid,x,y,(z+5)); //Forces the player to jump
    return 1;
    }
that you wanted?
Not at all. This will boost me with the speed of light probably. You don't know how SetPlayerVelocity works, do you?

Edit: Tested it, and yep, it crashed my client.
Reply


Messages In This Thread
Limit to Z in SetPlayerVelocity? - by KingHual - 15.01.2012, 12:40
Re: Limit to Z in SetPlayerVelocity? - by mineralo - 15.01.2012, 12:46
Re: Limit to Z in SetPlayerVelocity? - by KingHual - 15.01.2012, 12:48
AW: Limit to Z in SetPlayerVelocity? - by BigETI - 15.01.2012, 12:49
Re: AW: Limit to Z in SetPlayerVelocity? - by KingHual - 15.01.2012, 12:53
Re: Limit to Z in SetPlayerVelocity? - by mineralo - 15.01.2012, 13:22
Re: Limit to Z in SetPlayerVelocity? - by KingHual - 15.01.2012, 13:36
Re: Limit to Z in SetPlayerVelocity? - by Lorenc_ - 15.01.2012, 13:52
Re: Limit to Z in SetPlayerVelocity? - by KingHual - 15.01.2012, 13:55
Re: Limit to Z in SetPlayerVelocity? - by Lorenc_ - 15.01.2012, 13:59

Forum Jump:


Users browsing this thread: 2 Guest(s)