Scripting Basics: Difference between revisions

From San Andreas Multiplayer
Jump to navigationJump to search
No edit summary
Tags: Manual revert Reverted
Tag: Reverted
Line 1: Line 1:
== Scripting Basics ==
<pre><code class="language-python">
 
def hello_world():
{{PawnCode|code=
     print("Hello, world!")
public OnPlayerConnect(playerid) {
</code></pre>
    new string[128];
     format(string, sizeof(string), "Willkommen, Spieler %d!", playerid);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
}
}}

Revision as of 09:01, 3 November 2024

<code class="language-python">
def hello_world():
    print("Hello, world!")
</code>