Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

OnPlayerDrinkSprunk

GtakillerIV edited this page Nov 14, 2014 · 3 revisions

OnPlayerDrinkSprunk

Gets called when a player drinks from a vending machine

Note This callback gets called before the player's health is increased.


Parameters

playerid

The player's id.

Usage

public OnPlayerDrinkSprunk(playerid)
{
	SendClientMessage(playerid, -1, "You drank from a vending machine!");
}
Clone this wiki locally