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"
);
southclaws / pawn-templates Goto Github PK
View Code? Open in Web Editor NEWTemplate rendering for Pawn.
License: MIT License