Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,839
» Latest member: sorinacho1307
» Forum threads: 2,372
» Forum posts: 12,269

Full Statistics

Online Users
There are currently 540 online users.
» 0 Member(s) | 537 Guest(s)
Bing, Baidu, Google

Latest Threads
The status of the INPC SD...
Forum: Support
Last Post: DLCode
2026-01-07, 07:33 AM
» Replies: 0
» Views: 34
SAMP server trailer
Forum: Videos and Screenshots
Last Post: pmemorex2016
2026-01-06, 02:34 PM
» Replies: 0
» Views: 36
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-03, 04:04 AM
» Replies: 9
» Views: 1,024
I recommend Xiaomi Rednot...
Forum: Tech
Last Post: NoxxeR
2026-01-03, 01:31 AM
» Replies: 0
» Views: 81
🌆 Final City RPG – Englis...
Forum: Advertisements
Last Post: Beanny
2026-01-02, 02:46 PM
» Replies: 0
» Views: 72
OLD GAMEMODE 0.3DL
Forum: Gamemodes
Last Post: su109551
2026-01-01, 06:59 PM
» Replies: 0
» Views: 114
Layanan cs Floa
Forum: General Discussions
Last Post: bratva
2025-12-31, 01:10 PM
» Replies: 5
» Views: 187
[ZA] ZOMBIE APOCALYPSE. ...
Forum: Advertisements
Last Post: AlCapone
2025-12-30, 12:02 PM
» Replies: 0
» Views: 87
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-12-30, 08:46 AM
» Replies: 2
» Views: 317
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-29, 09:47 PM
» Replies: 8
» Views: 651

 
  progress3D - Create progress bars in 3D space
Posted by: Manyula - 2019-04-14, 01:30 PM - Forum: Libraries - Replies (11)

progress3D

[Image: progress3-D.png]

After the 2D textdraw-based version of progress bars, here now comes the 3D version. This library lets you create progress bars in 3D space. It's basically just two overlapping 3D text labels, one being moved slightly to the right to fill in the gaps between the characters.

Repository

[Image: SAMPCTL-progress3D-03ef651]

Functions

Code:
Bar3D:CreateProgressBar3D(color, bool:borders, Float:x, Float:y, Float:z, Float:max_value, Float:init_value, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, areaid = -1, priority = 0)

Creates a 3D progress bar. Returns INVALID_3D_BAR if bar already exists.

Code:
HideProgressBar3D(Bar3D:barid)

Hide the specified 3D progress bar. Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
ShowProgressBar3D(Bar3D:barid)

Shows the specified 3D progress bar.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
DestroyProgressBar3D(Bar3D:barid)

Destroys the specified progressbar.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
Float:GetProgressBar3DValue(Bar3D:barid)

Returns the current progress value.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
SetProgressBar3DValue(Bar3D_barid, Float:value)

Updates the value of the specified 3D progress bar.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
GetProgressBar3DColor(Bar3D_barid, color)

Returns the color of the specified 3D progress bar.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
SetProgressBar3DColor(Bar3D_barid, color)

Updates the color of the specified 3D progress bar.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
Float:GetProgressBar3DMaxValue(Bar3D:barid)

Returns the maximum value of the specified 3D progress bar.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
SetProgressBar3DMaxValue(Bar3D:barid, Float:max_value)

Updates the maximum value of the specified 3D progress bar. Returns 0 if the max value is smaller than the current value.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
IsValidProgressBar3D(Bar3D:barid)

Returns 1, if the specified 3D progress bar ID is valid and exists.?Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

---

Code:
?PlayerBar3D:CreatePlayerProgressBar3D(playerid, color, bool:borders, Float:x, Float:y, Float:z, Float:max_value, Float:init_value, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, areaid = -1, priority = 0)

Creates a player 3D progress bar. Returns INVALID_PLAYER_3D_BAR if bar already exists.

Code:
?HidePlayerProgressBar3D(playerid, PlayerBar3D:barid)

Hides the specified player 3D progress bar. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?ShowPlayerProgressBar3D(playerid, PlayerBar3D:barid)

Shows the specified player 3D progress bar. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?DestroyPlayerProgressBar3D(playerid, PlayerBar3D:barid)

Destroys a 3D player progress bar. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?Float:GetPlayerProgressBar3DValue(playerid, PlayerBar3D:barid)

Returns the current progress value. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?SetPlayerProgressBar3DValue(playerid, PlayerBar3D:barid, Float:value)

Updates the value of the specified player 3D progress bar. Returns 0 if value is greater than max value. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?GetPlayerProgressBar3DColor(playerid, PlayerBar3D:barid)

Returns the color of the specified player 3D progress bar. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?SetPlayerProgressBar3DColor(playerid, PlayerBar3D:barid, color)

Updates the color of the specified player 3D progress bar. Returns INVALID_GLOBAL_3D_BAR if bar doesn't exist.

Code:
?Float:GetPlayerProgressBar3DMaxValue(playerid, PlayerBar3D:barid)

Returns the maximum value of the specified player 3D progress bar. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?SetPlayerProgressBar3DMaxValue(playerid, PlayerBar3D:barid, Float:max_value)

Updates the maximum value of the specified player 3D progress bar. Returns 0 if the max value is smaller than the current value. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.

Code:
?IsValidPlayerProgressBar3D(playerid, PlayerBar3D:barid)

Returns 1, if the specified player 3D progress bar ID is valid and exists. Returns INVALID_PLAYER_3D_BAR if bar doesn't exist.


  Hindi/Urdu
Posted by: punklord - 2019-04-14, 01:14 PM - Forum: Hindi/Urdu - Replies (66)

namaste dosto kya haal hai


  Post your Desktop Megathread
Posted by: GlorifiedPig - 2019-04-14, 12:51 PM - Forum: Tech - Replies (42)

Here's mine. My wallpaper changes a lot as well as my Rainmeter settings, so the day you're reading this it's probably not the same.

[Image: aaxo3HL.jpg]


  Post your Setup Megathread
Posted by: GlorifiedPig - 2019-04-14, 12:49 PM - Forum: Chat - Replies (1)

Here's mine. It's a very old picture, looks different now. Ignore the low brightness and odd wallpaper.

[Image: 20181111_223948.jpg]



Here's my specs:

[Image: PWL00C1.png]


  Forum games section
Posted by: GlorifiedPig - 2019-04-14, 12:46 PM - Forum: Chat - Replies (1)

Add a forum games section. Would be useful in numerous ways.


  qualcuno mi spiega la differenza tra samp e open.mp
Posted by: ronfino - 2019-04-14, 12:21 PM - Forum: Italian/Italiano - Replies (11)

tipo le features


Thumbs Up [Servidor] Nova RolePlay ?Actualizado!
Posted by: Marg - 2019-04-14, 12:19 PM - Forum: Discusi?n GTA SA Multijugador - Replies (30)

[Image: Sin-titulo-1.png]

Servidor?de?SAMP 0.3.7 ,?Contamos con una variedad de sistemas que te gustaran , tambien variedad de mappeos ,mappeos que te encantaran , trabajos que pronto mostraremos , lo que nos basamos en hacer un mundo mas abierto , con una economia mucho mas amplia con gran variedad de productos y haciendo que la?jugabilidad sea la mas comoda para el usuario , con eso me refiero a usar la menor?cantidad de comandos.

Sistema de reloj

con 15 tipos de relojes diferentes y pronto relojes digitales o?SmartWatch.

[Image: RelojAzul.PNG][Image: RelojORO.PNG][Image: RelojPlata.PNG]

Sistema de celular

muchos tipos diferentes.

[Image: Verde.PNG][Image: Rosa.PNG][Image: Gris.PNG]

Sistema de TV

podras ver la TV.



[Image: TVS.PNG?width=400&height=190]


Mapas

Contamos con gran variedad de mappeos nuevos.

NovaNet

[Image: NovaNet3.PNG]

LSTV

[Image: LSTV.PNG]







Discord de facciones :?https://discord.gg/cRF4b48

Discord del servidor :?https://discord.gg/mq242XC


  Indonesian
Posted by: X337 - 2019-04-14, 12:09 PM - Forum: Other - Replies (8)

hai semuanya o/


Exclamation Agregar mas categorias
Posted by: Marg - 2019-04-14, 12:00 PM - Forum: Spanish/Espa?ol - Replies (19)

Categorias

Pienso que deberian agregar ya mas categorias a la secci?n espa?ol , portugues , rusa y otros... , en especial espa?ol ya que es la secci?n que tiene actualmente mas actividad y mas conocen sobre la existencia de?este proyecto.

Ejemplo:

>Informaci?n

>Sugerencias

>Ayuda

>Pedidos

>Mapas

>Scripts


  Samp 'unofficial discord'
Posted by: Syed - 2019-04-14, 11:48 AM - Forum: Chat - Replies (1)

Yo,? can anyone pass me the link to samp unofficial discord, thanks in advance!