Scripting Basics: Difference between revisions

From San Andreas Multiplayer
Jump to navigationJump to search
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
{{PawnCode|code=
{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}
public OnPlayerConnect(playerid) {
    new string[128];
    format(string, sizeof(string), "Willkommen, Spieler %d!", playerid);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
}
}}

Revision as of 18:50, 2 November 2024

{{ safesubst:p{{ safesubst:#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|}}