samp.directory
← Skrypty i biblioteki

alexchwoj/route-tracing

Path layout for San Andreas Multiplayer.

Biblioteka★ 5zaktualizowano sty 2024Brak licencjiPawn
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

README.md

route-tracing

Path layout for San Andreas Multiplayer.

Implementation

  1. Download the latest version in releases
  2. Enter this line in your initial script
#include <route-tracing>
  1. Install Modern GPS
  2. Install Pawn.RakNet
  3. 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;
}

How works?

So that routes can be drawn at great distances route-tracing has built-in functions to create gangzones per player, using Pawn.RakNet, 512 gang zones are reserved for operation. Before it was not used, making the limit of 50 gangzones making no more than 20 players can use them at the same time.

Demostration

Fuctions

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

Credits

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

alexchwoj/route-tracing: Biblioteka SA-MP | samp.directory