open.mp forum
[Pawn] gravity 0? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] gravity 0? (/showthread.php?tid=1694)



gravity 0? - Boxi - 2021-02-21

Hello, is it possible to make a script so that the gravity is 0? or something similar. Greetings!


RE: gravity 0? - LinesinRows - 2021-02-21

https://open.mp/docs/scripting/functions/SetGravity

Hm?


RE: gravity 0? - destiezk - 2021-02-21

Code:
public OnGameModeInit()
{
    SetGravity(0.1);

    return 1;
}



RE: gravity 0? - Boxi - 2021-02-21

Thanks to both