Skip to content

Commit

Permalink
add some info
Browse files Browse the repository at this point in the history
  • Loading branch information
DEntis-T committed Jun 20, 2024
1 parent aa17191 commit 5ec439f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void Announce() public

### External structs integrated into the language

#### External struct name: `public`
#### External struct name: `default`

```cpp
@extern
Expand All @@ -34,14 +34,16 @@ void main() public
}
```

### Component: `samp`
### Component: `samp` - COMING SOON!

#### External struct name: `samp_command`

Example:

```cpp
extern&struct*samp_command.testcmd?playerid&params;
@extern
this->struct=samp_command
int testcmd(playerid,params) public
{
samp.SendClientMessage(playerid@testcmd,0,"Your command works!");
return.int,1;
Expand Down

0 comments on commit 5ec439f

Please sign in to comment.