Callbacks - NicolasNeg/Samp-Functions GitHub Wiki

Welcome to the Callbacks wiki Samp-Functions


OnPlayerDGResponse

this callback is called when a player response to a Dialogid

public OnPlayerDGResponse(playerid, response, DG_ID)

can be use how the samp version OnDialogResponse

switch(DG_ID)


OnDGCreated

this callback is called when a dialog is created...

public OnDGCreated(DG_ID)


OnPlayerCashUpdate

this callback is called when the cash player update

OnPlayerCashUpdate(playerid, money)


OnPlayerChangeFreq

This callback is called when the player change freq or the state. OnPlayerChangeFreq(playerid, Float: freq, oldstate_, newstate_)


More coming soon...