[Ajuda] Carro
#1

pawn Код:
if(strcmp(cmdtext, "/carro", true) == 0)
    return ShowPlayerDialog(playerid,351,DIALOG_STYLE_INPUT,"Sistema de Veiculo","Digite o ID Do Carro Desejado.","Criar","Cancelar");
pawn Код:
if(dialogid == 351)
    {
        if(response)
        {
            if((400 > strval(inputtext) > 611) || strval(inputtext) == 425 || strval(inputtext) == 432 || strval(inputtext) == 520) return SendClientMessage(playerid, -1, "ID invalido!");
            new Float:pharrel[3];
            GetPlayerPos(playerid, pharrel[0], pharrel[1], pharrel[2]);
            pharrel[0] = float(CreateVehicle(strval(inputtext), pharrel[0], pharrel[1], pharrel[2], 0, 0, 0, 999999));
            PutPlayerInVehicle(playerid, floatround(pharrel[0]), 0);
            return 1;
        }
    }
Dai no caso quando sai-se do carro destruise ele e nгo dese spawn , queria que destruise .
Reply


Messages In This Thread
[Ajuda] Carro - by Laercio - 05.12.2011, 15:45
Re: [Ajuda] - by steki. - 05.12.2011, 15:53
Re: [Ajuda] - by Lуs - 05.12.2011, 15:55
Re: [Ajuda] - by Laercio - 05.12.2011, 15:55
Re: [Ajuda] - by Don_Speed - 05.12.2011, 15:56
Re: [Ajuda] - by Laercio - 05.12.2011, 15:58
Re: [Ajuda] - by Lуs - 05.12.2011, 16:00
Re: [Ajuda] - by Laercio - 05.12.2011, 16:02
Re: [Ajuda] - by Lуs - 05.12.2011, 16:04
Re: [Ajuda] Carro - by Laercio - 05.12.2011, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)