[Pedido] Comando /trancar?
#10

Quote:
Originally Posted by rjjj
Посмотреть сообщение
Adicione ao OnPlayerCommandText do FS :


pawn Код:
if(!strcmp(cmdtext, "/carrotrancar", true))
    {
        new NickName[25];
        new STR[51];
        GetPlayerName(playerid, NickName, 25);
        format(STR, 51, "/Concessionaria/Donos/%s.ini", NickName);
        if(!dini_Exists(STR))   return SendClientMessage(playerid, 0xFFFFFFAA, "[CONCESSIONБRIA] Vocк nгo tem um carro!");
        new Veiculo = cCarro[Dono[playerid][dChave]];
        new Pecas[7];
        GetVehicleParamsEx(Veiculo, Pecas[0], Pecas[1], Pecas[2], Pecas[3], Pecas[4], Pecas[5], Pecas[6]);
        SetVehicleParamsEx(Veiculo, Pecas[0], Pecas[1], Pecas[2], true, Pecas[4], Pecas[5], Pecas[6]);
        SendClientMessage(playerid, 0xFF0000FF, "[CONCESSIONБRIA] Carro trancado!");
        return 1;
    }


Espero ter ajudado .
Vlwwwwwww, Mais e agora como destranca? D:
Reply


Messages In This Thread
[Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 19:43
AW: [Pedido] Comando /trancar? - by billy the kid - 05.08.2012, 19:50
Re: AW: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 21:05
Re: [Pedido] Comando /trancar? - by Shadow Black - 05.08.2012, 21:18
Re: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 21:28
AW: [Pedido] Comando /trancar? - by billy the kid - 05.08.2012, 21:30
Re: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 21:43
Re: [Pedido] Comando /trancar? - by rjjj - 05.08.2012, 21:55
AW: [Pedido] Comando /trancar? - by billy the kid - 05.08.2012, 22:00
Re: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)