Skip to content
Larceny- edited this page Aug 7, 2015 · 2 revisions

Introduction

util.inc is an include where the contributors can add macros and functions to facilitate coding.

Current functions & macros:

PlaySelectSound(playerid)

Sound used when the player selects something or enter a checkpoint.

PlayConfirmSound(playerid)

Sound used when the player confirms something.

PlayErrorSound(playerid)

Sound used when the player is not permitted to do something.

PlayCancelSound(playerid)

Sound used when the player cancel some action.

ClearPlayerScreen(playerid)

Clears the player's chat.

IsPlayerInArea(playerid, Float:minx, Float:miny, Float:maxx, Float:maxy)

Checks if a player is in an area.

PlayMissionPassedSound(playerid)

Plays the GTA:SA passed mission sound.

Clone this wiki locally