samp.directory
← Skripte und Bibliotheken

Romz24/samp-gravity

Keine Beschreibung auf GitHub.

Bibliothek★ 2aktualisiert Apr. 2019Keine LizenzPawn
Auf GitHub öffnen

Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

README.md

Player-Gravity

This include provides two functions to set and get player gravity.

Functions:

SetPlayerGravity(playerid, Float:gravity);
Float:GetPlayerGravity(playerid, &Float:gravity = 0.0);

Both functions will return 0 if the player id is not connected, otherwise 1.

If the gravity is set by the server through rcon or SetGravity, GetPlayerGravity will return that new value.

Dependencies:

Pawn.RakNet

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden

Romz24/samp-gravity: SA-MP Bibliothek | samp.directory