Repository navigation
Pawn API
English · Português (Brasil) · English home
Include omp-drip.inc in the gamemode. All authoritative outfit state belongs
to the server; the ASI only renders states accepted from the component.
Returns non-zero after the client handshake succeeds.
Replaces the authoritative appearance and broadcasts it to the player and
current stream viewers. Each non-zero ID must belong to the same slot index in
the generated catalog. muscle and fat use GTA's 0..1000 range.
The component does not persist this array. Save it in your own database and restore it after login.
Temporarily replaces one slot on the target player's own client. A preview is not broadcast and does not mutate authoritative state.
Removes the fitting-room preview and restores authoritative state.
Resends the target player's state and all appearances currently streamed to that player.
public OnDripClientReady(playerid, protocol_version);
public OnDripClientRejected(playerid, reason);The rejection constants are declared in omp-drip.inc. Rejected players are
kicked by the component after the callback.
- item ownership and pricing;
- persistence of 18 item IDs per player;
- validation that an item is enabled and belongs to the requested slot;
- shop/dialog/CEF UX and preview camera;
- purchase transactions and rollback;
- defaults and profession/faction restrictions.