Template:PawnCode: Difference between revisions
From San Andreas Multiplayer
Jump to navigationJump to search
Created page with "<pre> {{#replace: {{{code}}} |old=public |new=<span class="pawn-keyword">public</span> |old=private |new=<span class="pawn-keyword">private</span> |old=if |new=<span class="pawn-keyword">if</span> |old=else |new=<span class="pawn-keyword">else</span> |old=for |new=<span class="pawn-keyword">for</span> |old=while |new=<span class="pawn-keyword">while</span> |old=return |new=<span class="pawn-keyword">return</span> |old="//" |new=<span class..." |
No edit summary |
||
Line 17: | Line 17: | ||
|old="//" | |old="//" | ||
|new=<span class="pawn-comment">//</span> | |new=<span class="pawn-comment">//</span> | ||
|old="\".*?\"" | |old="\"(.*?)\"" | ||
|new=<span class="pawn-string">"$1"</span> | |new=<span class="pawn-string">"$1"</span> | ||
|old="\w+\s*\(.*?\)" | |old="\w+\s*\(.*?\)" |
Revision as of 18:42, 2 November 2024
{{#replace: {{{code}}} |old=public |new=<span class="pawn-keyword">public</span> |old=private |new=<span class="pawn-keyword">private</span> |old=if |new=<span class="pawn-keyword">if</span> |old=else |new=<span class="pawn-keyword">else</span> |old=for |new=<span class="pawn-keyword">for</span> |old=while |new=<span class="pawn-keyword">while</span> |old=return |new=<span class="pawn-keyword">return</span> |old="//" |new=<span class="pawn-comment">//</span> |old="\"(.*?)\"" |new=<span class="pawn-string">"$1"</span> |old="\w+\s*\(.*?\)" |new=<span class="pawn-function">$0</span> }}