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

Scripting

GtakillerIV edited this page Nov 13, 2014 · 21 revisions

Useful Scripting Resources

IDs Player Stunts Colours
Pause Menus Player Actions Stunt Types
Radio Stations
HUD Components

Functions

Note Some examples require sscanf and ZCMD.

G I S
GetPlayerAircraftHeight IsPlayerInPauseMenu SetPlayerAircraftHeight
GetPlayerJetpackHeight IsUsingSAMPP SetBlurIntensity
GetPlayerRadioStation SetPlayerGameSpeed
GetPlayerResolution SetPlayerHUDComponentColour
GetPlayerVehicleBlips SetPlayerNoReload
SetPlayerPedAnims
SetPlayerJetpackHeight
SetPlayerCheckpointEx
SetPlayerCheckpointColour
SetRadioStationForPlayer
SetPlayerRaceCheckpointEx
SetPlayerRaceCheckpointColour
SetWaveHeightForPlayer
SetWaveHeightForAll

Callbacks

<tr>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerEnterPauseSubMenu">OnPlayerEnterPauseSubMenu</td></a>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnDriverDriveByShot">OnDriverDriveByShot</td></a>
</tr>

<tr>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerStunt">OnPlayerStunt</td></a>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerResolutionChange">OnPlayerResolutionChange</td></a>
</tr>

<tr>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerSAMPPConnect">OnPlayerSAMPPConnect</td></a>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerSAMPPJoin">OnPlayerSAMPPJoin</td></a>
</tr>

<tr>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerClick">OnPlayerClick</td></a>
	<td> <a href="https://github.com/KingHual/SA-MP-Plus/wiki/OnPlayerChangeRadioStation">OnPlayerChangeRadioStation</td></a>
</tr>
Callbacks
OnPlayerOpenPauseMenu OnPlayerClosePauseMenu
Clone this wiki locally