[Include] pLoading
#11

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Simples, porйm criativo. Gostei da ideia.

Entгo remove a mъsica. Atй porque a execuзгo da mъsica vai depender da velocidade de conexгo do jogador, logo se for lenta vai haver problemas.
Уtima ideia!
Update v0.8
  • 8 estilos de musicas
  • Callbacks OnPlayerLoadingStart e OnPlayerLoadingEnd
  • Removido 1 Timer
Download
Exemplo de uso
PHP код:
#include a_samp
#include zcmd
#define pLoad_Sound 2 //(1 - Musica original, 2..8 - Musicas aleatorias, 0 - sem musica)
#include pLoading
main(){}
new 
startend;
public 
OnPlayerLoadingStart(playerid)
{
    
start gettime();
    return 
1;
}
public 
OnPlayerLoadingEnd(playerid)
{
    
end gettime();
    
    
printf("Time: %d"end start);
    return 
1;
}
CMD:load(playeridparams[])
{
    if(
isnull(params)) SendClientMessage(playerid, -1"/load <time>");
    else 
ShowPlayerLoading(playeridstrval(params));
    return 
1;

Reply


Messages In This Thread
pLoading Update 1.0 - by PeterLinkson - 06.09.2017, 15:25
Re: pLoading - by C4rtm4n - 06.09.2017, 15:30
Re: pLoading - by PeterLinkson - 06.09.2017, 15:33
Re: pLoading - by Carlos001 - 06.09.2017, 22:42
Re: pLoading - by Felipe01 - 07.09.2017, 20:54
Re: pLoading - by C4rtm4n - 07.09.2017, 21:06
Respuesta: Re: pLoading - by SammyJ - 07.09.2017, 23:48
Re: pLoading - by IlanZ - 08.09.2017, 01:07
Re: pLoading - by PeterLinkson - 08.09.2017, 13:57
Re: pLoading - by F1N4L - 08.09.2017, 14:22
Re: pLoading - by PeterLinkson - 08.09.2017, 15:34
Re: pLoading - by PeterLinkson - 11.10.2017, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)