[Ajuda] Acredito que seja simples
#1

E aн galera. Seguinte. To querendo a ajuda de vocкs 1є para transformar esse comando em um sу tipo no lugar de /cinto e /tirarcinto queria sу /cinto

pawn Код:
if(!strcmp(cmdtext, "/cinto", true))
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(CintoPlayer[playerid] == 0)
        {
            CintoPlayer[playerid] = 1;
            GetPlayerName(playerid, sendername, sizeof(sendername));
            SendClientMessage(playerid, COLOR_YELLOW,"[BML] 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,"[BML] Vocк jб estб de cinto.");
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_YELLOW,"[BML] Vocк nгo estб em um veнculo.");
    }
    return 1;
    }
    if(!strcmp(cmdtext, "/tirarcinto", true))
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(CintoPlayer[playerid] == 1)
        {
            CintoPlayer[playerid] = 0;
            GetPlayerName(playerid, sendername, sizeof(sendername));
            SendClientMessage(playerid, COLOR_YELLOW,"[BML] Cuidado Vocк Esta Sem Cinto, Pode Morrer (/cinto)");
            format(string, sizeof(string), "%s retira o cinto de seguranзa.", sendername);
            ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
        else
E tambйm queria ajuda com criar icone no mapa, eu sei criar pelo pawno, mas nгo axei nenhuma lista com os ID's dos icones, se algume tiver ou a lista com os ID's ou um programa para criar eu agradeceria.

Й isso.

Valeu!
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)