[Ajuda]/Cinto[Simples]
#4

pawn Код:
if(!strcmp(cmdtext, "/cinto", true))
    {
    new modelo = GetPlayerVehicleID(playerid)
    new motoid = GetVehicleModel(modelo);
    if(motoid == 448 || motoid == 512 || motoid == 461 || motoid == 462 || motoid == 463 || motoid == 468 || motoid == 471 || motoid == 481 || motoid == 509 || motoid == 521 || motoid == 522 || motoid == 581 || motoid == 586 || motoid == 523) return SendClientMessage(playerid, COLOR_YELLOW,"Voce nao pode por cinto na moto");
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(CintoPlayer[playerid] == 0)
        {
            CintoPlayer[playerid] = 1;
            GetPlayerName(playerid, sendername, sizeof(sendername));
            SendClientMessage(playerid, COLOR_YELLOW,"[Cinto] Parabйns Vocк esta de Cinto, Agora Esta Protegido (/tirarcinto)");
            format(string, sizeof(string), "%s coloca o cinto de seguranзa.", sendername);
            ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
        else
        {
            SendClientMessage(playerid, COLOR_YELLOW,"[Cinto] Vocк jб estб de cinto.");
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_YELLOW,"[Cinto] Vocк nгo estб em um veнculo.");
    }
    return 1;
    }
Reply


Messages In This Thread
-------------- - by Izaac Abreu - 12.09.2011, 01:10
Re: [Ajuda]/Cinto[Simples] - by Dolby - 12.09.2011, 01:12
Re: [Ajuda]/Cinto[Simples] - by Izaac Abreu - 12.09.2011, 01:18
Re: [Ajuda]/Cinto[Simples] - by WLSF - 12.09.2011, 01:19
Re: [Ajuda]/Cinto[Simples] - by Dolby - 12.09.2011, 01:32
Re: [Ajuda]/Cinto[Simples] - by Izaac Abreu - 12.09.2011, 01:34
Re: [Ajuda]/Cinto[Simples] - by WLSF - 12.09.2011, 01:36
Re: [Ajuda]/Cinto[Simples] - by [M]onsieur - 12.09.2011, 03:48

Forum Jump:


Users browsing this thread: 3 Guest(s)