Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
/ vending Public archive

Simple library for creating server-side vending machines

License

Notifications You must be signed in to change notification settings

FreddieCrew/vending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vending

Simple library for creating server-side vending machines.

Functions

CreateVendingMachine(Float:X, Float:Y, Float:Z, Float:Rx, Float:Ry = 0.0, Float:Rz = 0.0, type = MACHINE_TYPE_SODA);
GetPlayerNearVendingMachineID(playerid);
GetVendingMachinePos(machineid, &Float:X, &Float:Y, &Float:Z);
GetVendingMachineRotation(machineid, &Float:RX, &Float:RY, &Float:RZ);
bool:IsValidVendingMachine(machineid);
DestroyVendingMachine(machineid);

Callbacks

public OnPlayerUseVendingMachine(playerid, type)

Special thanks to wuzi and his server-side vending machine library, for giving me the kickstart to create this library.

About

Simple library for creating server-side vending machines

Resources

License

Stars

Watchers

Forks

Languages