Библиотека★ 6обновлён янв. 2024 г.Без лицензииPawn
Открыть на GitHubВ этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.
README.md
route-tracing
Path layout for San Andreas Multiplayer.
Implementation
- Download the latest version in releases
- Enter this line in your initial script
#include <route-tracing>
- Install Modern GPS
- Install Pawn.RakNet
- Put
GPS.datfile inscriptfiles/
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
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью