[Include] pLoading v1.0
#1

Suggestions for use
  • When loading the map, exclusively the streamer
    » In addition to hiding the imperfections of the map loading, you can use the callback OnPlayerLoadingEnd
    » To spawn again, because most of the time the player ends up falling under the object.

  • When executing Loop in a large array
    » Hide the small delay

  • By uploading an account
    » When pulling all account information, maybe a little delay

  • When Small Bugs Occur
    » Example: Trying to give Spawn while being in spectate causes a small bug, causing the player to start flying
    » Infinitely, you can hide for a few seconds until you probably fix it.


  • When Waiting for a Timer to follow the script
    » Some servers use too many Timers to keep up with the story, and some end up slowing down a bit

  • Embellishment
Imagem

Video
Information
Command: /sounds
  • Change the music while loading the bar, in game
public OnPlayerLoadingStart(playerid)
  • Called when start loading
public OnPlayerLoadingEnd(playerid)
  • Called when finished loading
native ShowPlayerLoading(playerid, Float:time)
  • Shows the loading screen
  • time: It takes so many seconds to load the bar
native HidePlayerLoading(playerid)
  • hide the loading screen
Credits
» Samp» Samp Team
» Progress2 Include » Toribio/Southclaw
» Audio Plugin» Incognito
» Script/Include» PeterLinkson
» Loading Original» Rockstar North
Download
Reply


Messages In This Thread
pLoading v1.0 - by PeterLinkson - 12.10.2017, 17:37
Re: pLoading v1.0 - by Freaksken - 13.10.2017, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)