samp.directory
← Skrypty i biblioteki

Southclaws/pawn-templates

Template rendering for Pawn.

Plugin★ 6zaktualizowano sty 2019MITRustsampctlZarchiwizowane
Otwórz na GitHubie

Autor zarchiwizował to repozytorium, więc nie jest już rozwijane.

Zainstaluj za pomocą sampctl

sampctl package install Southclaws/pawn-templates

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

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.

Zależy od 1 pakietu

README.md

Template Engine for Pawn

TemplateBanned = CreateTemplate(
"Your account {{name}} has been banned!\

Reason: {{reason}}\
Duration: {{duration}}\
If you disagree, please file an appeal at: {{forum}}\
");

// ...

new dest[1024];
RenderTemplate(TemplateBanned, dest,
    "name", playerName,
    "reason", reason,
    "forum", "https://forum.website.com"
);

liquid-templating-enginepawn-packagesa-mp-plugintemplate-library

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

Southclaws/pawn-templates: Plugin SA-MP | samp.directory