samp.directory
← Scripts and libraries

MassonNN/mas_pickups

Include for work with pickups

Library★ 3updated Jun 2020Apache-2.0Pawn
Open on GitHub
Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

README.md

mas_pickups

Include for work with pickups

define PICKUP_SYNC_STANDART_ANTIFLOOD - default antiflood for synced pickups

define MAS_PCK_KEY - key for pickup triggering

define MAS_PCK_TEXT_DRAWDIST - drawdistance of textdraw

define MAS_PCK_AREA_SIZE - size of triggering by key area about pickup

PickupCreate(pick_Function[23], pick_Model, pick_Type, Float:pick_X, Float:pick_Y, Float:pick_Z, pick_VirtualWorld = 0, pick_Interior = 0, pick_Playerid = 0, Float:streamdistance = STREAMER_PICKUP_SD)

DeletePickup(id)

SyncPickup(syncid, withid)

PickupSetAntiFlood(id, interval)

GetPickupModelEx(id)

GetPickupTypeEx(id)

GetPickupVirtualWorldEx(id)

GetPickupPlayerid(id)

ReplacePickup(&id, Float:new_x, Float:new_y, Float:new_z, new_vw = -1, new_int = -1)

SetPickupModel(&id, model)

SetPickupVirtualWorld(&id, world)

SetPickupType(&id, type)

PickupSetOnKey(id)

PickupSetOnPickup(id)

PickupSetTag(bool:is_on_key = false, antiflood = 0, sync = INVALID_PICKUP)

PickupEmitate(playerid, id)

forward OnPlayerUseSyncPickup(playerid, pickupid, syncpickupid);

pawnpickupsa-mpsystem

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

MassonNN/mas_pickups: SA-MP Library | samp.directory