compile_and_load_pawn
Compile a Pawn script and load it into the SA-MP server, restarting the server to apply changes.
Instructions
Compile a Pawn script and attempt to load it into the server. This will restart the server.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scriptPath": "<scriptPath>"
},
"name": "compile_and_load_pawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | Path to the .pwn script file to compile and load |