[FilterScript] Velocimetro v1.0
#5

Quote:
Originally Posted by SpikeCompiler
View Post
Mano, nгo й questгo de o cуdigo funcionar, porйm a otimizaзгo й essencial, oque vocк estб falando й a mesma coisa que eu fazer:


1-
PHP Code:
public OnPlayerConnect(playerid)
{
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    
SendClientMessage(playerid,-1," ");
    return 
1;

2 -

PHP Code:
LimparChat(playeridlinhas){for(new 0<= linhasb++) SendClientMessage(playerid,-1" ");}
public 
OnPlayerConnect(playerid)
{
    
LimparChat(playerid100//100 = nъmeros de linhas a ser limpas no chat.
    
return 1;

Qual й mais otimizado? os dois cуdigos tem as mesmas funзхes.

@TOPIC:

Bom Filterscript, +REP.
Ainda nao percebi essa Noia de Otimizaзao e fazer os bagulho desde que compile e nao bugue e dei-a erros jб estб '-' essa coisa de otimizaзao me irrita ksks #EterNuEspaikeMorreuNoEdenScavenge'-'TeamIsWinner
Reply


Messages In This Thread
Velocimetro Simples - by zG - 13.03.2018, 21:00
Re: Velocimetro v1.0 - by NelsonC - 13.03.2018, 21:08
Re: Velocimetro v1.0 - by GuiKommander - 13.03.2018, 21:30
Re: Velocimetro v1.0 - by SpikeCompiler - 13.03.2018, 22:41
Re: Velocimetro v1.0 - by HelderPT - 13.03.2018, 22:56
Re: Velocimetro v1.0 - by SpikeCompiler - 14.03.2018, 00:45
Re: Velocimetro v1.0 - by Gguiz - 14.03.2018, 01:11
Re: Velocimetro v1.0 - by zG - 14.03.2018, 01:19
Re: Velocimetro v1.0 - by [BOPE]Seu._.Madruga - 15.03.2018, 23:41
Re: Velocimetro v1.0 - by BrunnoFdc - 01.04.2018, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)