脚本范例
From SA-MP Wiki
This page links to a number of pages with various types of examples of code. The first link is for basic control structures such as if/else, for, switch etc. The second link is for basic SA:MP related snippets for inclusion in a mode. The third link is for more advanced control structures for efficient and structured coding.
- Control Structures: Basic program flow structures.
- Code Snippets: Basic example codes.
- Fast Commands: dcmd and sscanf command processing.
- Advanced Structures: Advanced process structures.