[Ajuda] Flood
#3

O Problema ainda persiste :/

PHP код:
if(strcmp(cmd"/ttaxi"true) == && IsPlayerConnected(playerid))  
{
     
    if(
PlayerInfoplayerid ][pProfissao] == Taxista || IsPlayerAdmin(playerid)) 
    {
         
        new 
plid
        
tmp strtok(cmdtextidx); 
        if(!
strlen(tmp)) { 
            
SendClientMessage(playeridERRO"/ttaxi [id]"); 
            return 
1
        } 
        
plid strval(tmp); 
        if(
GetPlayerVehicleID(playerid) == GetPlayerVehicleID(plid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER
        {
             
            
SendClientMessage(plid0xE1E100AA"O Taxista ligou o Taximкtro."); 
            
GivePlayerGrana(playerid,000); 
            
GivePlayerGrana(plid,000); 
            
Taximetro[plid][0] = 1
            
Taximetro[plid][1] = playerid
            return 
1
        } 
        else  
        {
             
            
SendClientMessage(playeridERRO" | ERRO | O passageiro nгo estб dentro do seu carro ou vocк nгo й o motorista."); 
        } 
    } 
    return 
1

e acada 3 segundos a public e chamada por isso da Flood, mas nгo sei como fazer , o problema pode estar no comando ?
Reply


Messages In This Thread
Flood - by ModaLOKO - 09.07.2015, 23:10
Re: Flood - by zSuYaNw - 10.07.2015, 13:14
Re: Flood - by ModaLOKO - 10.07.2015, 18:20
Re: Flood - by zSuYaNw - 10.07.2015, 18:48
Re: Flood - by ModaLOKO - 10.07.2015, 19:18
Re: Flood - by zSuYaNw - 10.07.2015, 19:34
Re: Flood - by PT - 10.07.2015, 19:54
Re: Flood - by zSuYaNw - 11.07.2015, 16:48
Re: Flood - by ModaLOKO - 11.07.2015, 17:08
Re: Flood - by Smith. - 11.07.2015, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)