inject_code
Inject Pawn code into a running SA-MP server by creating and compiling a temporary filterscript.
Instructions
Create a temporary Filterscript with the given code and compile it (Hot Injection).
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": {
"code": "<code>"
},
"name": "inject_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Pawn code to inject into OnFilterScriptInit |