samp.directory
← Skripte und Bibliotheken

peterszombati/route-tracing

Path layout for San Andreas Multiplayer.

Bibliothek★ 1aktualisiert Mai 2020Keine Lizenzsampctl
Auf GitHub öffnen

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

Mit sampctl installieren

sampctl package install peterszombati/route-tracing

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

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.

Hängt von 2 Paketen ab

README.md

route-tracing

Path layout for San Andreas Multiplayer.

Implementation

  1. Download the latest version in releases
  2. Put the route-tracing.inc file in pawno/include
  3. Enter this line in your initial script
#include <route-tracing>
  1. Install Modern GPS
  2. Put GPS.dat file in scriptfiles/

Example

In the test.pwn file you have a usage example.

public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
	StartTracing(playerid, fX, fY, fZ);
	return 1;
}

Demostration

Fuctions

StartTracing(playerid, Float:x, Float:y, Float:z);
CancelTracing(playerid);
SetTracingColor(playerid, color);
GetTracingColor(playerid);

Credits

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