[AJUDA] Quando player sair do veiculo automaticamente destruir!
#7

pawn Code:
// Topo
new LipeStronda;
// Comando
    if (strcmp(cmdtext, "/infernus", true)==0) {
    {  
        new Float:X, Float:Y, Float:Z ;
        GetPlayerPos(playerid, X, Y, Z);
        LipeStronda = CreateVehicle(411, X, Y, Z, 0.0, -1, -1, -1);      
        return 1;
    }

//Exitvehicle

    if(vehicleid == LipeStronda)
    {
        DestroyVehicle(LipeStronda);
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)