20.11.2017, 12:49
Functions from plugin SA-MP+
Changing hud elements from gta sa and changing visibility of SA-MP chat for cinematic modes!
Changing radio stations in vehicle.
Color of hud elements:
Other suggestions from general board
https://sampforum.blast.hk/showthread.php?tid=302201
- all from the first post
Changing hud elements from gta sa and changing visibility of SA-MP chat for cinematic modes!
PHP код:
native ToggleHUDComponentForPlayer(playerid, componentid, bool:toggle);
PHP код:
HUD_COMPONENT_ALL
HUD_COMPONENT_AMMO
HUD_COMPONENT_WEAPON
HUD_COMPONENT_HEALTH
HUD_COMPONENT_BREATH
HUD_COMPONENT_ARMOUR
HUD_COMPONENT_MINIMAP
HUD_COMPONENT_CROSSHAIR
HUD_COMPONENT_MONEY
HUD_COMPONENT_CHAT
PHP код:
native SetRadioStationForPlayer(playerid, stationid);
PHP код:
RADIO_PLAYBACKFM
RADIO_KROSE
RADIO_KDST
RADIO_BOUNCEFM
RADIO_SFUR
RADIO_LOSSANTOS
RADIO_RADIOX
RADIO_CSR
RADIO_KJAHWEST
RADIO_MASTERSOUNDS
RADIO_WCTR
RADIO_UTP
RADIO_OFF
PHP код:
native SetPlayerHUDComponentColour(playerid, componentid, colour);
PHP код:
HUD_COLOUR_MONEY_POSITIVE
HUD_COLOUR_MONEY_NEGATIVE
HUD_COLOUR_ARMOUR
HUD_COLOUR_HEALTH
HUD_COLOUR_BREATH
HUD_COLOUR_AMMO
HUD_COLOUR_WANTED_LEVEL
HUD_COLOUR_RADIO_TUNED
HUD_COLOUR_RADIO_UNTUNED
https://sampforum.blast.hk/showthread.php?tid=302201
- all from the first post