[Ajuda] Acredito que seja simples
#4

Compilei o cуdigo aqui sem nenhum problema

@EDIT

Descobri o erro ...
PHP код:
if(!strcmp(cmdtext"/cinto"true))
{
    if(!
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playeridCOLOR_YELLOW,"[BML] Vocк nгo estб em um veнculo.");
    if(
CintoPlayer[playerid] == 0)
    {
        
CintoPlayer[playerid] = 1;
        
GetPlayerName(playeridsendernamesizeof(sendername));
        
SendClientMessage(playeridCOLOR_YELLOW,"[BML] Parabйns Vocк esta de Cinto, Agora Esta Protegido (/tirarcinto)");
        
format(stringsizeof(string), "%s coloca o cinto de seguranзa."sendername);
        
ProxDetector(10.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    }
    else
    {
        
CintoPlayer[playerid] = 0;
        
GetPlayerName(playeridsendernamesizeof(sendername));
        
SendClientMessage(playeridCOLOR_YELLOW,"[BML] Cuidado Vocк Esta Sem Cinto, Pode Morrer (/cinto)");
        
format(stringsizeof(string), "%s retira o cinto de seguranзa."sendername);
        
ProxDetector(10.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    }
    return 
true;

Reply


Messages In This Thread
[Ajuda] Acredito que seja simples - by Joao_VS - 11.07.2011, 00:59
Re: [Ajuda] Acredito que seja simples - by RockFire - 11.07.2011, 01:04
Re: [Ajuda] Acredito que seja simples - by Joao_VS - 11.07.2011, 01:39
Re: [Ajuda] Acredito que seja simples - by RockFire - 11.07.2011, 01:43
Re: [Ajuda] Acredito que seja simples - by Joao_VS - 11.07.2011, 01:56
Re: [Ajuda] Acredito que seja simples - by arakuta - 11.07.2011, 02:04
Re: [Ajuda] Acredito que seja simples - by Bruno Pereira - 11.07.2011, 02:22
Re: [Ajuda] Acredito que seja simples - by Joao_VS - 11.07.2011, 03:14
Re: [Ajuda] Acredito que seja simples - by Chefгo - 11.07.2011, 04:01
Re: [Ajuda] Acredito que seja simples - by Sr.Pekeno - 11.07.2011, 09:58

Forum Jump:


Users browsing this thread: 2 Guest(s)